![]() Registered Member ![]()
|
I'm currently attempting to build kde following these instructions.
When trying to build kdesdk, I get: /home/no/kde/src/kdebase/kdesdk/dolphin-plugins/git/fileviewgitplugin.cpp: In member function 'virtual bool FileViewGitPlugin::beginRetrieval(const QString&)': /home/no/kde/src/kdebase/kdesdk/dolphin-plugins/git/fileviewgitplugin.cpp:198:37: error: 'LocallyModifiedUnstagedVersion' was not declared in this scope /home/no/kde/src/kdebase/kdesdk/dolphin-plugins/git/fileviewgitplugin.cpp:223:41: error: 'LocallyModifiedUnstagedVersion' was not declared in this scope /home/no/kde/src/kdebase/kdesdk/dolphin-plugins/git/fileviewgitplugin.cpp:226:38: error: 'LocallyModifiedUnstagedVersion' was not declared in this scope /home/no/kde/src/kdebase/kdesdk/dolphin-plugins/git/fileviewgitplugin.cpp: In member function 'virtual QList<QAction*> FileViewGitPlugin::contextMenuActions(const KFileItemList&)': /home/no/kde/src/kdebase/kdesdk/dolphin-plugins/git/fileviewgitplugin.cpp:294:57: error: 'LocallyModifiedUnstagedVersion' was not declared in this scope make[2]: *** [dolphin-plugins/git/CMakeFiles/fileviewgitplugin.dir/fileviewgitplugin.o] Error 1 make[1]: *** [dolphin-plugins/git/CMakeFiles/fileviewgitplugin.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 20%] Built target lokalize make: *** [all] Error 2 Since kdesdk didn't seem to be required, I tried to go on ahead and build kde-workspace and got another error. It didn't complain about a missing dependency, but if kdesdk is require, just ignore this part. I ended up with the following error: [ 51%] Building CXX object plasma/generic/runners/nepomuksearch/CMakeFiles/krunner_nepomuksearchrunner.dir/nepomuksearchrunner.o Linking CXX shared module ../../../../lib/krunner_powerdevil.so /home/no/kde/src/kdebase/kde-workspace/plasma/generic/runners/nepomuksearch/nepomuksearchrunner.cpp:29:25: fatal error: nepomuk/nie.h: No such file or directory compilation terminated. make[2]: *** [plasma/generic/runners/nepomuksearch/CMakeFiles/krunner_nepomuksearchrunner.dir/nepomuksearchrunner.o] Error 1 make[1]: *** [plasma/generic/runners/nepomuksearch/CMakeFiles/krunner_nepomuksearchrunner.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 51%] Built target krunner_powerdevil make: *** [all] Error 2 Even after google searches, I can't figure out where 'LocallyModifiedUnstagedVersion' is suppose to come from, and grep didn't come up with anything. nie.h also doesn't seem to appear anywhere, and I don't have a clue where it is suppose to come from. I'm using slackware 13.37 64. |
![]() Administrator ![]()
|
Ok, the problem here is that the various components probably depend on trunk versions of their counterparts. This means that you essentially need to build everything from kdelibs and up.
If you only want to build a certain part to develop on it, it may be worth checking your distributors beta 1 packages, which should be sufficiently new enough.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
|
![]() Administrator ![]()
|
Ok, try setting the environment variable "CMAKE_PREFIX_PATH" to point towards the location where you installed KDE, then re-run CMake.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Eventually I realized that while kdelibs was building, it first complained about not having shared-desktop-ontologies. So after installing a newer version of it, rebuilding kdelibs, and seeing the missing headers in place, I was then able to build kde-workspace. kdesdk still won't build, though I wouldn't be surprised if its from something else not being new enough.
![]() |
![]() Administrator ![]()
|
You probably need a newer version of Dolphin, which is in kde-baseapps.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft