[Kmymoney-devel] Re: cmake fails on openSuse 11.4 (X64) - HELP

aga agander93 at gmail.com
Fri Mar 11 12:53:27 CET 2011


On Thu, 10 Mar 2011 22:41:59 +0000
aga <agander93 at gmail.com> wrote:

> >>
> >>Date: Thu, 10 Mar 2011 20:46:30 +0000
> >>From: aga <agander93 at gmail.com>
> >>To: kmymoney-devel at kde.org <kmymoney-devel at kde.org>
> >>Subject: [Kmymoney-devel]  cmake fails on openSuse 11.4 (X64)
> 
> 
> >>I get the following -
> >>
> >>CMake Error
> >>at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:469
> >>(message): Your version of automoc4 is too old.  You have 0.9.83,
> >>you need at least 0.9.88 Call Stack (most recent call first):
> >>  /usr/share/cmake/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
> >>  CMakeLists.txt:50 (FIND_PACKAGE)
> 
> >>In fact, the version installed is 0.9.88.
> 
> >>There is a FindAutomoc4.cmake but I can't see a check for automoc4
> >>in KMM CMakeLists.txt.  Should I?
> 
> Following up, I bodged my way past that problem, but, trying to build
> Alkimia, I now get -
> 
> -- Found automoc4: /usr/bin/automoc4
> CMake Error at /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:43
> (automoc4): Unknown CMake command "automoc4".
> Call Stack (most recent call first):
>   /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1026
> (_automoc4_kde4_pre_target_handling) CMakeLists.txt:54
> (kde4_add_library)
> 
> Am I right in thinking this is not a KMM issue, but a general build
> problem?
> 
> Allan

The problem I'm having seems to be that cmake is expecting libs to be
in /usr/lib, when they are actually in /usr/lib64.  I've copied cmake and automoc4
directories from /usr/lib to /usr/lib64 and have progressed somewhat,
but now get -

[  1%] Built target kmm_kdchart_automoc
make[2]: *** No rule to make target `/usr/lib/libQtSvg.so', needed by
`lib/libkmm_kdchart.so.4.6.0'.  Stop.

Again, it's the same issue and this lib again is in /usr/lib64, but
there are many, many more there and it's obvious there must be a better
approach.

I'd appreciate guidance on this, while I continue googling.

Allan



More information about the KMyMoney-devel mailing list