From kde-devel Thu Jul 31 08:19:42 2008 From: Andreas Pakulat Date: Thu, 31 Jul 2008 08:19:42 +0000 To: kde-devel Subject: Re: automoc4 from kde4.1 binary packages for Mandriva Message-Id: <20080731081942.GA13999 () morpheus ! apaku ! dnsalias ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=121749247403772 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 <<