Hi <br><br>I hope someone here can point me in the right direction.<br><br>I compile kdevelop using the directions explained in:<br><br><a href="http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling" target="_blank">http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling</a><br>
<br>After performing an upgrade of Ubuntu to Karmic I am able to compile the kdevplatform library without any problems. <br><br>Compiling kdevelop, however, is another story. <br><br>Removing $HOME/src/kdevelop/build/CMakeCache.txt and trying to do e.g. uninstall gives the following:<br clear="all">
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">mvo@mvo-desktop:~/src/kdevelop/build$ cd $HOME/src/kdevelop/build && make uninstall<br>
-- The C compiler identification is GNU<br>-- The CXX compiler identification is GNU<br><br>.....Cut the text here.....<br><br>-- Found automoc4: /usr/bin/automoc4<br>CMake Error at CMakeLists.txt:19 (find_package):<br> Could not find module FindKDevPlatform.cmake or a configuration file for<br>
package KDevPlatform.<br><br> Adjust CMAKE_MODULE_PATH to find FindKDevPlatform.cmake or set<br> KDevPlatform_DIR to the directory containing a CMake configuration file for<br> KDevPlatform. The file will have one of the following names:<br>
<br> KDevPlatformConfig.cmake<br> kdevplatform-config.cmake<br></blockquote><br>So I tried to set KDevPlatform_DIR:<br><br>export KDevPlatform_DIR=/home/mvo/src/kdevplatform/build<br><br>This then gave the following output;<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">CMake Error at /home/mvo/src/kdevplatform/build/KDevPlatformConfig.cmake:40 (include):<br>
include could not find load file:<br><br> /home/mvo/src/kdevplatform/build/KDevPlatformTargets.cmake<br>Call Stack (most recent call first):<br> CMakeLists.txt:19 (find_package)<br><br></blockquote><br>And sure enough. The file KDevPlatformTargets.cmake is not found in that directory. It is located under:<br>
<br>./kdevplatform/build/CMakeFiles/Export/_home/mvo/kdevelop4/lib/kdevplatform/KDevPlatformTargets.cmake<br>./kdevplatform/build/CMakeFiles/Export/_usr/local/lib/cmake/kdevplatform/KDevPlatformTargets.cmake<br><br>But then what? <br>
<br>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.<br>
<br>Any help would be appreciated <br><br><br>-- <br>- When the split is pulled, mr. Grenade is no longer our friend<br>