compilation problems after upgrading to Karmic
Morten Volden
mvolden2 at gmail.com
Wed Sep 2 22:21:00 BST 2009
2009/9/2 Andreas Pakulat <apaku at gmx.de>
> On 02.09.09 21:29:16, Morten Volden wrote:
> > 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
>
> Thats wrong, you shouldn't put the builddirectory there. Where did you
> install kdevplatform to? You'll need something like this:
>
> cmake -DCMAKE_PREFIX_PATH=<where kdevplatform was installed to> ../
>
>
Yep. That was where I went wrong. Compiling now - Thanks! :-)
--
- 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/1411f773/attachment-0001.html>
More information about the KDevelop
mailing list