Cannot compile

Karl F. Larsen klarsen1 at gmail.com
Fri May 8 12:08:23 UTC 2009


Dotan Cohen wrote:
> On Kubuntu 9.04 I have build-essential and cmake installed, but I
> cannot compile:
>
>
> jaunty2 at laptop:/tmp/yawp-0.2.3$ sudo apt-get install build-essential cmake
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> build-essential is already the newest version.
> cmake is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> jaunty2 at laptop:/tmp/yawp-0.2.3$ ./install.sh
> CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
>   ERROR: cmake/modules/FindKDE4Internal.cmake not found in
>   /home/jaunty2/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
> Call Stack (most recent call first):
>   CMakeLists.txt:3 (find_package)
>
>
> CMake Warning (dev) in CMakeLists.txt:
>   No cmake_minimum_required command is present.  A line of code such as
>
>     cmake_minimum_required(VERSION 2.6)
>
>   should be added at the top of the file.  The version specified may be lower
>   if you wish to support older CMake versions for this project.  For more
>   information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> -- Configuring incomplete, errors occurred!
> make: *** No rule to make target `clean'.  Stop.
> make: *** No targets specified and no makefile found.  Stop.
> Compilation failed, sorry :-(
> jaunty2 at laptop:/tmp/yawp-0.2.3$
>
>
>
> This error seems to be the problem:
>   ERROR: cmake/modules/FindKDE4Internal.cmake not found in
>   /home/jaunty2/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
>
> How do I solve that?
>
> Thanks!
>
>
>   
    Try these and they should reply "no file found"

$ g++
$ make

Karl





More information about the ubuntu-users mailing list