Automoc4 issue on x86_64

Mantia Andras amantia at kde.org
Mon Aug 11 14:26:55 CEST 2008


Hi,

 I have problem with the current svn and looks to be automoc4 related. 
This is a 64bit distro that uses /usr/lib64 for 64bit libs I have distro 
supplied automoc4 (0.9.84) in /usr/bin and the cmake modules for it in 
/usr/lib64/automoc4. cmake fails with:
CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:53 
(MESSAGE):
  Did not find automoc4 (part of kdesupport).
Call Stack (most recent call first):
  cmake/modules/FindAutomoc4.cmake:32 
(find_package_handle_standard_args)
  cmake/modules/FindKDE4Internal.cmake:260 (find_package)
  CMakeLists.txt:33 (find_package)

I tried to install the one from kdesupport to /opt/kde4, in that case 
the binary went to /opt/kde4/bin while the .cmake files to 
/opt/kde4/lib64/automoc4. Same error, even after passing -
DCMAKE_PREFIX_PATH=/opt/kde4.

The problem is that lib64, the cmake files are in lib64. If I move them 
to /opt/kde4/lib/automoc4, it works.

Andras


More information about the Kde-buildsystem mailing list