[kde-freebsd] FreeBSD Port: x11/kdelibs4

Petyo Milotinov petyo at petyo.org
Wed Feb 10 12:01:38 CET 2010


	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!

	Best regards,
	Petyo Milotinov


More information about the kde-freebsd mailing list