Am Montag, 25. April 2011, 15:40:55 schrieb Friedrich W. H. Kossebau: > Lundi, le 25 avril 2011, à 15:27, Riccardo Bellini a écrit: > > Hi Friedrich, thank you for reply. > > Unfortunately it doesn't skip the compilation of the okteta plugin, on > > the contrary during the cmake stage okteta and kasten library are found, > > so there's no way to skip the compilation of okteta plugin. > > Maybe some variables to bet set manually when giving the cmake command > > will work? > > Hm, just tried to compile KDevelop myself (while rest of the family takes a > post-lunch nap :) ), but for me Okteta/Kasten libs are listed in "could NOT > be located" section, as it should be. And so the build just skips the > Okteta plugin and completes. > > Could it be you have an older CMakeCache.txt file around in the KDevelop > build toplevel dir which still caches the "Found" values from before the > changes in the Okteta/Kasten libs versioning, as happened in the last > weeks? Could you try to rm that cache file (or rm the related entries) and > run cmake again?
I can confirm it does not compile even with new build directory. The problem seems to lie within the FindKasten.cmake file. I have Okteta installed to /usr/local/ since it is self-compiled and not to /usr/. Build fails because of Kasten/AbstractToolView not being found. The directory Kasten is /usr/local/include/KDE/Kasten/ on my system. This does not get found due to /usr/local/include/KDE/ not being part of the include path. It should work if Okteta is installed to /usr, since /usr/include/KDE should in general be part of the include path already. I'm afraid I don't know how to fix it, I don't know much about writing Find*.cmake files. A possible workaround is symlinking /usr/local/KDE/Kasten to /usr/local/include/Kasten (since /usr/local/include/ should be part of the include path on most systems) if it is possible on your system or otherwise commenting out line 19 in the file utils/CMakeLists.txt of the KDevelop source tree. Alex >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<