kde4 cmake-problem: FindKDE4Internal.cmake not found

Hello,

I try to compile a kde4 application (digikam 0.10rc2) on my openSuSE 11.1 system with KDE 4.2.0 installed.

The problem is that the cmake system reports an error as soon as I try to configure digikam for compiling using cmake (version 2.6-patch2). I simply try to run “cmake .” in the source directory of digikam. cmake then reports the error below. Any idea what could be the cause of this problem:

CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/krienke/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/apps
Call Stack (most recent call first):
CMakeLists.txt:36 (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.

Thanks
Rainer

maybe you should install kde development libraries

If by development libraries you man kdelibs4 and kdelibs4-core then that isn’t the issue. I have those installed and I’m experienced the same problem.

**I found libkde4-devel. I’m assuming that will fix the issue.