Compilation problem

Manoj Rajagopalan rajagopalan.manoj at gmail.com
Sun Jan 23 17:09:52 GMT 2011


Did you make && make install kdevplatform first before building kdevelop?

Did you set both cmake prefix variables as in the compilation instructions?

If you are using bash then type "export KDEDIRS=<def>" on the command line
to set the env var.

I've built kdevelop using these instructions several times on ubuntu
successfully. You might have overlooked a small step.

Cheers
Manoj
On Jan 23, 2011 6:39 AM, "Leon Pollak" <leonp at plris.com> wrote:
> Hello.
>
> I try to compile the last sources of kdevelop and for this I installed all

> possible (and impossible!) packages, including those written in the
> compilation instructions in
> http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling
>
> The only thing I do not know how to do is to set KDEDIRS on my Fedora12
> machine, but it seems to be set correctly...
>
> I still have:
>
> -- Found Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
> -- Found X11: /usr/lib64/libX11.so
> -- Found KDE 4.5 include dir: /usr/include/kde4
> -- Found KDE 4.5 library dir: /usr/lib64/kde4/devel
> -- Found the KDE4 kconfig_compiler4 preprocessor:
/usr/bin/kconfig_compiler4
> -- Found automoc4: /usr/bin/automoc4
> CMake Warning at cmake/modules/FindKDevPlatform.cmake:40 (find_package):
> Could not find a configuration file for package KDevPlatform.
>
> 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
>
> Call Stack (most recent call first):
> CMakeLists.txt:28 (find_package)
>
>
> CMake Error at
> /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198

> (MESSAGE):
> Could NOT find KDevPlatform (missing: KDevPlatform_CONFIG) (Required is at
> least version "1.1.80")
> Call Stack (most recent call first):
> cmake/modules/FindKDevPlatform.cmake:44
(find_package_handle_standard_args)
> CMakeLists.txt:28 (find_package)
>
> -------------------
> I also tried to set this KDevPlatform_DIR to the file I found in
> /usr/lib64/cmake/kdevplatform, but this did not help at all.
>
> Thank ahead for a help.
> --
> Leon
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20110123/f4b7b725/attachment.html>


More information about the KDevelop mailing list