[kde-freebsd] unable to build "x11/kdelibs4"

Hendrix El el.hendrixx at gmail.com
Fri Feb 12 18:27:22 CET 2010


Hello

Sorry for my insistence but I can't build x11/kdelibs4 on Freebsd7.2 (I have
kde3.5 installed too).

I have updated all the ports tree, I have updated all the qt4 dependencies
(qt4.6.1)

qt4-corelib-4.6.1
qt4-dbus-4.6.1
qt4-gui-4.6.1
.... etc, etc,

soprano-2.4.0.1 and virtuoso-6.1.0_1 installed, but I always get the same
error :


/usr/local/include/qt4/QtCore/qchar.h:386: error: expected `)' before 'c1'
/usr/local/include/qt4/QtCore/qchar.h:386: error: expected `)' before 'c2'
/usr/local/include/qt4/QtCore/qchar.h:389: error: expected initializer
before '&' token
/usr/local/include/qt4/QtCore/qchar.h:390: error: expected initializer
before '&' token
/usr/local/include/qt4/QtCore/qchar.h:393: error: 'QT_END_NAMESPACE' does
not name a type
In file included from /usr/local/include/qt4/QtCore/qstring.h:46,
                 from /usr/local/include/qt4/QtCore/qobject.h:48,
                 from /usr/local/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/local/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/local/include/qt4/QtCore/qstringlist.h:46,
                 from /usr/local/include/qt4/QtCore/QStringList:1,
                 from
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.0/kio/kio/authinfo.h:28,
                 from
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.0/kio/kio/kpasswdserver.cpp:24:

...
...

/usr/local/include/qt4/QtCore/qstring.h:1020: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1022: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1024: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1026: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1069: error: expected initializer
before '&' token
/usr/local/include/qt4/QtCore/qstring.h:1070: error: expected initializer
before '&' token
/usr/local/include/qt4/QtCore/qstring.h:1083: error: 'Q_MOVABLE_TYPE' has
not been declared
/usr/local/include/qt4/QtCore/qstring.h:1083: error: expected constructor,
destructor, or type conversion before ';' token
/usr/local/include/qt4/QtCore/qstring.h:1085: error: expected constructor,
destructor, or type conversion before 'Q_DECLARE_OPERATORS_FOR_FLAGS'
gmake[2]: *** [kio/CMakeFiles/kio.dir/kio/kpasswdserver.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11/kdelibs4/work/kdelibs-4.4.0/build'
gmake[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
gmake[1]: Leaving directory
`/usr/ports/x11/kdelibs4/work/kdelibs-4.4.0/build'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11/kdelibs4.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.



# pkg_info -W /usr/local/include/qt4/QtCore/qchar.h
/usr/local/include/qt4/QtCore/qchar.h was installed by package
qt4-corelib-4.6.1

# pkg_info -W /usr/local/include/qt4/QtCore/qstring.h
/usr/local/include/qt4/QtCore/qstring.h was installed by package
qt4-corelib-4.6.1

What would you advise me to do?. Any suggestions are appreciated.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-freebsd/attachments/20100212/1fd5edc2/attachment.htm 


More information about the kde-freebsd mailing list