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

Thomas Baumgart thb at net-bembel.de
Fri Mar 11 13:32:19 CET 2011


Hi,

on Friday 11 March 2011 12:53:27 aga wrote:

> 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.

Just downloaded the DVDs for installation over the weekend. Need to make 
backups of everything first.

Try 'cmake .. -DLIB_SUFFIX=64' and see if that makes a difference.

My current (11.3 based) CMakeCache.txt file contains:

thb at localhost:~/devel/kmymoney4/build> grep LIB_SUFFIX CMakeCache.txt
LIB_SUFFIX:STRING=64

and all libs have the 64 added. Also, what is the output of

thb at localhost:~/devel/kmymoney4/build> kde4-config --libsuffix
64



-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Early bird gets the worm, but the second mouse gets the cheese.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20110311/b6bed0f9/attachment.sig 


More information about the KMyMoney-devel mailing list