[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: automoc4 from kde4.1 binary packages for Mandriva
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-07-31 8:19:42
Message-ID: 20080731081942.GA13999 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 30.07.08 18:07:58, Paul B wrote:
> > I installed kde4.1 binary packges for mandriva 2008 Spring from
> > http://download.kde.org/download.php?url=stable/4.1.0/Mandriva/
> >
> > I installed all kdebase and devel packages, including cmake 2.6.
> >
> > automoc4 is present in /opt/kde4/bin and the desktop runs fine.
> >
> > But when I cmake a project (namely extragear-graphics), it fails with
> > "CMake Error: Did not find automoc4 (part of kdesupport)."
> >
> > Well, everything needed seems to be installed and accessible. So, I don't
> > understand what is happening.
> 
> Exact same problem for me on Kubuntu Hardy, automoc4 is in my path but 
> cmake doesn't find it

automoc4 isn't searched for via PATH, check FindAutomoc4.cmake. Its
trying to find Automoc4Config.cmake which is usually installed in a
libdir. But you can help it find that file by setting CMAKE_PREFIX_PATH
to /opt/kde4. Thats "the right thing to do" when installing a kde4 app
somewhere else than kdelibs/automoc have been installed to (i.e. another
prefix).

Andreas

-- 
Increased knowledge will help you now.  Have mate's phone bugged.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic