[kde-freebsd] FreeBSD Port: x11/kdelibs4

Dima Panov fluffy at fluffy.khv.ru
Wed Feb 10 13:07:46 CET 2010


On Wednesday 10 February 2010 21:01:38 Petyo Milotinov wrote:
> 	Hello,
> 	I'm using FreeBSD 7.2 Stable:
> 
> uname -a
> FreeBSD petyo.org 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Dec 15 16:48:16
> EET 2009     root at petyo.org:/usr/obj/usr/src/sys/MYKERNEL  i386
> 
> 	I try to update KDE4 to 4.3.5. But updating kdelibs4 fails:
> 
> ======================================
> In file included from
> /usr/ports/x11/kdelibs4/work/kdelibs-4.3.5/kio/bookmarks/kbookmark.cc:33:
> 
> /usr/local/include/qdatetime.h:51: error: function definition does not
> declare parameters
> /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.
> ======================================
> 
> 	The problem is kdelibs4 attempts to build using QT3:
> 
> pkg_info -W /usr/local/include/qdatetime.h
> /usr/local/include/qdatetime.h was installed by package qt-3.3.8_10
> 
> 	I used to use KDE3 till the summer of last year. Then I updated to KDE4
> which is in
> 
> /usr/local/kde4/
> 
> and QT-4 libraries are in
> 
> /usr/local/lib/qt4/
> 
> 	Actually now I have only kdelibs-3.5.10_3 installed because it is
> required by licq-qt-gui.
> 	My question is how can I update KDE4 without removing kdelibs-3? Is
> there a way to tell the kdelibs4 where to look for QT libraries? Or I
> have to remove all QT-3/KDE3 and QT-4 libraries, deinstall KDE4 and
> install it again in standard paths?
> 	Any suggestions are appreciated!
> 	Thanks in advance!

Your qt3/kde3 installation looks polluted, so if you want to keep it installed 
(personally, i can't see a reason to keep kdelibs3 nor licq, which is very outdated, 
netim/qutim should cover all icq tasks), please rebuild qt3/kdelibs3 and then try to 
rebuild qt4 and install kde4 in usual way.


-- 
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 at 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


More information about the kde-freebsd mailing list