kdebase (svn) compilation error: busoperators.h:30: error: ‘Query’ is not a member of ‘Nepomuk’
James Tyrer
jrtyrer at earthlink.net
Sun Nov 15 12:04:23 GMT 2009
Dâniel Fraga wrote:
> On Sat, 14 Nov 2009 14:22:11 -0700
> James Tyrer <jrtyrer at earthlink.net> wrote:
>
>> Finding Boost isn't just a kdepimlibs issue, it is a general KDE-4 issue
>> since the problem is with the: "FindBoost.cmake" file that comes with
>> CMake. So, if kdepimlibs didn't find it then kdesupport probably didn't
>> find it either.
>>
>> Did you build Boost from source?
>
> Yes, I updated boost and now everything is fine, except for
> another error:
>
> [ 52%] Building CXX object workspace/kwin/CMakeFiles/kdeinit_kwin.dir/sm.o
> cd /home/fraga/svn/kdebase/b/workspace/kwin && /usr/local/bin/c++ -Dkdeinit_kwin_EXPORTS -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DHAVE_CONFIG_H=1 -O3 -march=native -pipe -floop-interchange -floop-strip-mine -floop-block -ftree-loop-linear -ftree-loop-distribution -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/home/fraga/svn/kdebase/b/workspace/kwin -I/home/fraga/svn/kdebase/workspace/kwin -I/home/fraga/svn/kdebase -I/home/fraga/svn/kdebase/b -I/home/fraga/svn/kdebase/b/workspace -I/home/fraga/svn/kdebase/workspace/kdm -I/home/fraga/svn/kdebase/workspace/libs -I/home/fraga/svn/kdebase/workspace/libs/kworkspace -I/home/fraga/svn
/kdebase/b/workspace/kwin/lib -I/home/fraga/svn/kdebase/workspace/kwin/lib -I/home/fraga/svn/kdebase/workspace/kwin/effects -I/home/fraga/svn/kdebase/workspace/kwin/tabbox -I/home/fraga/svn/kdebase/workspace/libs/kephal -I/usr/local/kde4/include -I/usr/local/kde4/include/KDE -I/usr/local/Trolltech/Qt-4.6.0/include/QtScriptTools -I/usr/local/Trolltech/Qt-4.6.0/include/phonon -I/usr/local/Trolltech/Qt-4.6.0/include/QtXmlPatterns -I/usr/local/Trolltech/Qt-4.6.0/include/QtWebKit -I/usr/local/Trolltech/Qt-4.6.0/include/QtHelp -I/usr/local/Trolltech/Qt-4.6.0/include/QtAssistant -I/usr/local/Trolltech/Qt-4.6.0/include/QtDBus -I/usr/local/Trolltech/Qt-4.6.0/include/QtTest -I/usr/local/Trolltech/Qt-4.6.0/include/QtUiTools -I/usr/local/Trolltech/Qt-4.6.0/include/QtScript -I/usr/local/Trolltech/Qt-4.6.0/include/QtSvg -I/usr/local/Trolltech/Qt-4.6.0/include/QtXml -I/usr/local/Trolltech/Qt-4.6.0/include/QtSql -I/usr/local/Trolltech/Qt-4.6.0/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.6.0
/include/QtNetwork -I/usr/local/Trolltech/Qt-4.6.0/include/QtDesigner -I/usr/local/Trolltech/Qt-4.6.0/include/Qt3Support -I/usr/local/Trolltech/Qt-4.6.0/include/QtGui -I/usr/local/Trolltech/Qt-4.6.0/include/QtCore -I/usr/local/Trolltech/Qt-4.6.0/include/Qt -I/usr/local/Trolltech/Qt-4.6.0/mkspecs/default -I/usr/local/Trolltech/Qt-4.6.0/include -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kdeinit_kwin.dir/sm.o -c /home/fraga/svn/kdebase/workspace/kwin/sm.cpp
> /home/fraga/svn/kdebase/workspace/kwin/sm.cpp: In member function ‘void KWin::Workspace::storeSession(KConfig*, KWin::SMSavePhase)’:
> /home/fraga/svn/kdebase/workspace/kwin/sm.cpp:132: error: cast from ‘KWin::ClientGroup*’ to ‘int’ loses precision
> make[2]: *** [workspace/kwin/CMakeFiles/kdeinit_kwin.dir/sm.o] Error 1
> make[2]: Leaving directory `/usr/local/src/svn/kdebase/b'
> make[1]: *** [workspace/kwin/CMakeFiles/kdeinit_kwin.dir/all] Error 2
> make[1]: Leaving directory `/usr/local/src/svn/kdebase/b'
> make: *** [all] Error 2
>
Since that looks like a code error, it is possible that that is the
problem. Unfortunately, TRUNK does not always compile. So, you could
update in a few hours and see if it works.
--
James Tyrer
Linux (mostly) From Scratch
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list