[rkward-users] problem installing on Mac

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue May 4 10:20:09 UTC 2010


Hi,

On Monday 03 May 2010, Roel Verberne wrote:
> OK, I tried both but had no succes, here's the result of tip number 1:
>     |gse-103-10:rkward Home$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local
> 
>     -DR_EXECUTABLE=/applications/r
>     CMake Error at
>     /opt/local/share/apps/cmake/modules/FindQt4.cmake:1458 (MESSAGE):
>        Qt qmake not found!

ok, that's not good. The second approach (with setting the PATH) appears more 
promising.

[...]

>     gse-103-10:rkward Home$ export PATH=/opt/local/bin:/opt/local/lib:$PATH
>     gse-103-10:rkward Home$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local
>     -DR_EXECUTABLE=/applications/r
>     -- Looking for Q_WS_X11
>     -- Looking for Q_WS_X11 - not found.
>     -- Looking for Q_WS_WIN
>     -- Looking for Q_WS_WIN - not found.
>     -- Looking for Q_WS_QWS
>     -- Looking for Q_WS_QWS - not found.
>     -- Looking for Q_WS_MAC
>     -- Looking for Q_WS_MAC - not found.
>     -- Found Qt-Version 4.4.3 (using /opt/local/bin/qmake)
>     -- Looking for include files CMAKE_HAVE_PTHREAD_H
>     -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
>     -- Looking for pthread_create in pthreads
>     -- Looking for pthread_create in pthreads - not found
>     -- Looking for pthread_create in pthread
>     -- Looking for pthread_create in pthread - found
>     -- Found Threads: TRUE
>     CMake Error at
>     /opt/local/share/apps/cmake/modules/FindAutomoc4.cmake:56 (message):
>        Did not find Automoc4Config.cmake (part of kdesupport).  Searched in
> 
>    
>  /usr/local;/usr;/;/sw;/opt/local;/sw;/usr/lib/w32api;/usr/X11R6/lib;/usr/l
> ib/X11;/opt/local/lib;/usr/pkg/lib;/opt/csw/lib;/opt/lib;/usr/openwin/lib;/
> opt/local using suffixes automoc4 lib/automoc4 lib64/automoc4.
>     Call Stack (most recent call first):
>        /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:270
>     (find_package)
>        /sw/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
>        CMakeLists.txt:10 (FIND_PACKAGE)

I think we can safely ignore all the "policy" warnings that come after that 
for now. The point where it really fails is the above, i.e. 
"Automoc4Config.cmake" is not found.

This looks like the "automoc-x11" package is missing. I wonder why this did 
not get installed with kdelibs4-x11-dev, since it is rather essential for 
building any KDE4 applications, but apparently it was not. Let's hope there 
are not many more omissions like this. Possibly, you will also need to install 
"kde4-buildenv".

(In case this does not get you any further, please check, whether 
Automoc4Config.cmake is installed anywhere in /opt/local/).

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20100504/7dfbbac9/attachment.sig>


More information about the Rkward-users mailing list