2010-12-24 12:42, Erik skrev: > Nepomuk 4.5.4 fails to build. > > Steps to reproduce: > 1. tar jxvf kdebase-runtime-4.5.4.tar.bz2 > 2. cd kdebase-runtime-4.5.4 > 3. wget > "http://websvn.kde.org/trunk/KDE/kdebase/runtime/knotify/ksolidnotify.cpp?r1=1140405&r2=1151084&pathrev=1151084&view=patch" > > --output-document=-|patch -p4 > 4. mkdir build > 5. cd build > 6. cmake -DKDE4_ENABLE_FINAL=ON .. > 7. make > > Actual result: > In file included from > kdebase-runtime-4.5.4/build/nepomuk/strigibackend/nepomukbackend_final_cpp.cpp:5: > > > kdebase-runtime-4.5.4/nepomuk/strigibackend/util.cpp: In function > "void Strigi::Util::storeStrigiMiniOntology(Soprano::Model*)": > kdebase-runtime-4.5.4/nepomuk/strigibackend/util.cpp:127: fel: > "Soprano::Vocabulary::NRL" har inte deklarerats >
The problem seems to be that Soprano::Vocabulary::NRL is clared in the header file /usr/include/soprano/nrl.h with the include guard _SOPRANO_NRL_H_. But during the build, the file kdebase-runtime-4.5.4/build/nepomuk/strigibackend/nrl.h is created with the same include guard but not declaring Soprano::Vocabulary::NRL. That file is then included first. So the content of /usr/include/soprano/nrl.h (declaration of Soprano::Vocabulary::NRL) is never seen. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<