[kde-freebsd] x11/kactivities fails to build if qt3 or kde3 is also present
Edward Sutton
mirror176 at hotmail.com
Thu Jun 21 08:04:06 UTC 2012
I found this when trying to upgrade x11/kde4-workspace on my system. Building includes files from /usr/local/include before /usr/local/kde4/include or /usr/local/include/qt4/Qt which is building against version 3 before it finds the version 4. Not sure how to try to resolve the include order issue but if it is fixable without removing kde3 and qt3 then I'd love to learn how the cmake system gets manipulated to get that to happen. A run of `pkg_deinstall -Of qt-copy-3.3.8_14 kdelibs-3.5.10_9` did allow the build to complete successfully.
I had trouble getting a complete log in a file when using MAKE_JOBS type modifiers to get the count to one process only;output kept splitting errors to outside the log. The following is from a capture taken by `script kdelog make -DDISABLE_MAKE_JOBS VERBOSE=1` and more can be provided if needed.
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/x11/kactivities/work/ka
ctivities-4.8.3/build/CMakeFiles 7
[ 30%] ESC[32mBuilding CXX object service/CMakeFiles/activity-manager.dir/Activi
tyManager.o
ESC[0mcd /usr/ports/x11/kactivities/work/kactivities-4.8.3/build/service && /usr
/local/libexec/ccache/c++ -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_P
LUS -O2 -pipe -fno-omit-frame-pointer -fno-strict-aliasing -Woverloaded-virtual
-fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG
-DQT_NO_DEBUG -I/usr/ports/x11/kactivities/work/kactivities-4.8.3/build/service
-I/usr/ports/x11/kactivities/work/kactivities-4.8.3/service -I/usr/ports/x11/ka
ctivities/work/kactivities-4.8.3 -I/usr/ports/x11/kactivities/work/kactivities-4
.8.3/build -I/usr/local/include -I/usr/local/kde4/include -I/usr/local/kde4/incl
ude/KDE -I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns -
I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtWebKit -I/usr/local/inc
lude/qt4/QtUiTools -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSv
g -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScriptTools -I/usr/l
ocal/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include
/qt4/QtNetwork -I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/Qt
Help -I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative
-I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/QtAssistant -I/usr/loca
l/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4
/QtCore -I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -I/us
r/local/include/qt4 -o CMakeFiles/activity-manager.dir/ActivityManager.o -c /usr
/ports/x11/kactivities/work/kactivities-4.8.3/service/ActivityManager.cpp
In file included from /usr/local/include/qwidget.h:43,
from /usr/local/include/qdesktopwidget.h:41,
from /usr/local/include/qapplication.h:43,
from /usr/local/include/kapplication.h:39,
from /usr/local/kde4/include/KDE/../kuniqueapplication.h:25,
from /usr/local/kde4/include/KDE/KUniqueApplication:2,
from /usr/ports/x11/kactivities/work/kactivities-4.8.3/service/
ActivityManager.h:29,
from /usr/ports/x11/kactivities/work/kactivities-4.8.3/service/
ActivityManager.cpp:21:
/usr/local/include/qwindowdefs.h:147: error: 'Q_EXPORT' does not name a type
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20120621/a6c3ceb7/attachment.html>
More information about the kde-freebsd
mailing list