compilation problems after upgrading to Karmic
Morten Volden
mvolden2 at gmail.com
Wed Sep 2 20:29:16 BST 2009
Hi
I hope someone here can point me in the right direction.
I compile kdevelop using the directions explained in:
http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling
After performing an upgrade of Ubuntu to Karmic I am able to compile the
kdevplatform library without any problems.
Compiling kdevelop, however, is another story.
Removing $HOME/src/kdevelop/build/CMakeCache.txt and trying to do e.g.
uninstall gives the following:
mvo at mvo-desktop:~/src/kdevelop/build$ cd $HOME/src/kdevelop/build && make
> uninstall
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
>
> .....Cut the text here.....
>
> -- Found automoc4: /usr/bin/automoc4
> CMake Error at CMakeLists.txt:19 (find_package):
> Could not find module FindKDevPlatform.cmake or a configuration file for
> package KDevPlatform.
>
> Adjust CMAKE_MODULE_PATH to find FindKDevPlatform.cmake or set
> KDevPlatform_DIR to the directory containing a CMake configuration file
> for
> KDevPlatform. The file will have one of the following names:
>
> KDevPlatformConfig.cmake
> kdevplatform-config.cmake
>
So I tried to set KDevPlatform_DIR:
export KDevPlatform_DIR=/home/mvo/src/kdevplatform/build
This then gave the following output;
CMake Error at /home/mvo/src/kdevplatform/build/KDevPlatformConfig.cmake:40
> (include):
> include could not find load file:
>
> /home/mvo/src/kdevplatform/build/KDevPlatformTargets.cmake
> Call Stack (most recent call first):
> CMakeLists.txt:19 (find_package)
>
>
And sure enough. The file KDevPlatformTargets.cmake is not found in that
directory. It is located under:
./kdevplatform/build/CMakeFiles/Export/_home/mvo/kdevelop4/lib/kdevplatform/KDevPlatformTargets.cmake
./kdevplatform/build/CMakeFiles/Export/_usr/local/lib/cmake/kdevplatform/KDevPlatformTargets.cmake
But then what?
Do I need to set some variable to make CMake look in the right place? - If
so I can't seem to figure out which one.
Any help would be appreciated
--
- When the split is pulled, mr. Grenade is no longer our friend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20090902/87f74554/attachment.html>
More information about the KDevelop
mailing list