You are not logged in.

#1 2009-07-14 03:40:12

DarkMind
Member
Registered: 2005-02-22
Posts: 68

cmake_minimum_required(VERSION 2.6) [SOLVED]

when i tried to compile from aur says:


CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /root/.kde4/share/apps;/usr/share/apps;/opt/kde/share/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!

i use archlinux 686 , kde 4.3 rc2 i have cmake and base-devel installed

can i help me?

Last edited by DarkMind (2009-07-15 06:53:20)

Offline

#2 2009-07-14 03:41:47

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: cmake_minimum_required(VERSION 2.6) [SOLVED]

Hmm....

"error message wrote:

A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.

Try that?

Offline

#3 2009-07-14 03:55:23

DarkMind
Member
Registered: 2005-02-22
Posts: 68

Re: cmake_minimum_required(VERSION 2.6) [SOLVED]

not work

Offline

#4 2009-07-14 09:16:41

Salamander1978
Member
From: Aachen, DE
Registered: 2007-10-24
Posts: 30

Re: cmake_minimum_required(VERSION 2.6) [SOLVED]

DarkMind wrote:

not work

The warning about the missing
  cmake_minimum_required(..)
statement is just a warning and doesn't cause cmake to fail.

If you add the statement your output will shrink to the actual error message, which is the missing FindKDE4Internal.cmake.  Considering

  $ pacman -Qo /usr/share/apps/cmake/modules/FindKDE4Internal.cmake
  /usr/share/apps/cmake/modules/FindKDE4Internal.cmake is owned by kdelibs 4.2.4-2

I wonder if you have kdelibs installed.

Best,
-- Maik

Offline

#5 2009-07-14 21:49:19

DarkMind
Member
Registered: 2005-02-22
Posts: 68

Re: cmake_minimum_required(VERSION 2.6) [SOLVED]

pacman -Qo /usr/share/apps/cmake/modules/FindKDE4Internal.cmake
error: no se pudo leer el archivo  '/usr/share/apps/cmake/modules/FindKDE4Internal.cmake': No existe el fichero o el directorio

Offline

#6 2009-07-15 06:20:29

DarkMind
Member
Registered: 2005-02-22
Posts: 68

Re: cmake_minimum_required(VERSION 2.6) [SOLVED]

reinstalling kdelibs solves the problem

thanks big_smile

Offline

Board footer

Powered by FluxBB