Date: Tue, 30 Mar 2010 20:02:47 +1100 From: Dima Panov <fluffy@freebsd.org> To: freebsd-ports-bugs@freebsd.org Cc: Pascal Stumpf <Pascal.Stumpf@cubes.de>, freebsd-gnats-submit@freebsd.org Subject: Re: ports/145195: x11/kdelibs4 fails if qt3 is installed Message-ID: <201003302002.49490.fluffy@freebsd.org> In-Reply-To: <201003300847.o2U8l71t010991@www.freebsd.org> References: <201003300847.o2U8l71t010991@www.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 30 March 2010 19:47:07 Pascal Stumpf wrote: > >Number: 145195 > >Category: ports > >Synopsis: x11/kdelibs4 fails if qt3 is installed > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-ports-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Mar 30 08:50:03 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Pascal Stumpf > >Release: 8.0-STABLE > > >Organization: > - > > >Environment: > > >Description: > Ok, I think this problem has been around for a while but still not fixed: > http://osdir.com/ml/kde-freebsd/2010-02/msg00175.html > http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058037.html > > > If you have qt3 installed, kdelibs4 will try to use qt3 headers (in > /usr/local/include) instead of qt4 headers (/usr/local/kde4/include) and, > of course, fail. > > In file included from > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.5/kio/bookmarks/k bookmark.cc:33: > /usr/local/include/qdatetime.h:51: error: function definition does not > declare p arameters > /usr/local/include/qdatetime.h:123: error: function definition does not > declare parameters > /usr/local/include/qdatetime.h:184: error: function definition does not > declare parameters > /usr/local/include/qdatetime.h:241: error: expected initializer before '&' > token /usr/local/include/qdatetime.h:242: error: expected initializer > before '&' token /usr/local/include/qdatetime.h:243: error: expected > initializer before '&' token /usr/local/include/qdatetime.h:244: error: > expected initializer before '&' token /usr/local/include/qdatetime.h:245: > error: expected initializer before '&' token > /usr/local/include/qdatetime.h:246: error: expected initializer before '&' > token > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.5/kio/bookmarks/kbookmark.cc: In > member function 'void KBookmark::updateAccessMetadata()': > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.5/kio/bookmarks/kbookmark.cc:515: > error > > : incomplete type 'QDateTime' used in nested name specifier > > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 1 > > Stop in /usr/ports/x11/kdelibs4. > > >How-To-Repeat: > > >Fix: > I think cmake should check for presence of qt3 on the system and adjust > include dirs accordingly. > Looks your /etc/make.conf polluted with include path override (for example, CFLAGS = -O -pipe -I/usr/local/include) of incorrect qt3 installtion. please deinstall/reinstall qt3 and try again -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 KDE@FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003302002.49490.fluffy>