[rkward-users] problem installing on Mac

Roel Verberne roel.verberne at unil.ch
Mon May 3 13:49:45 UTC 2010


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!
    Call Stack (most recent call first):
       /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:267
    (find_package)
       /sw/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
       CMakeLists.txt:10 (FIND_PACKAGE)


    CMake Warning (dev) at /sw/share/cmake-2.8/Modules/FindKDE4.cmake:95
    (FIND_PACKAGE):
       Policy CMP0011 is not set: Included scripts do automatic
    cmake_policy PUSH
       and POP.  Run "cmake --help-policy CMP0011" for policy details. 
    Use the
       cmake_policy command to set the policy and suppress this warning.

       The included script

         /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake

       affects policy settings.  CMake is implying the NO_POLICY_SCOPE
    option for
       compatibility, so the effects are applied to the including context.
    Call Stack (most recent call first):
       CMakeLists.txt:10 (FIND_PACKAGE)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at CMakeLists.txt:10 (FIND_PACKAGE):
       Policy CMP0011 is not set: Included scripts do automatic
    cmake_policy PUSH
       and POP.  Run "cmake --help-policy CMP0011" for policy details. 
    Use the
       cmake_policy command to set the policy and suppress this warning.

       The included script

         /sw/share/cmake-2.8/Modules/FindKDE4.cmake

       affects policy settings.  CMake is implying the NO_POLICY_SCOPE
    option for
       compatibility, so the effects are applied to the including context.
    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- Configuring incomplete, errors occurred!

    |

So I tried tip number two:||
||

    |
    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/lib/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)


    CMake Warning (dev) at /sw/share/cmake-2.8/Modules/FindKDE4.cmake:95
    (FIND_PACKAGE):
       Policy CMP0011 is not set: Included scripts do automatic
    cmake_policy PUSH
       and POP.  Run "cmake --help-policy CMP0011" for policy details. 
    Use the
       cmake_policy command to set the policy and suppress this warning.

       The included script

         /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake

       affects policy settings.  CMake is implying the NO_POLICY_SCOPE
    option for
       compatibility, so the effects are applied to the including context.
    Call Stack (most recent call first):
       CMakeLists.txt:10 (FIND_PACKAGE)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at CMakeLists.txt:10 (FIND_PACKAGE):
       Policy CMP0011 is not set: Included scripts do automatic
    cmake_policy PUSH
       and POP.  Run "cmake --help-policy CMP0011" for policy details. 
    Use the
       cmake_policy command to set the policy and suppress this warning.

       The included script

         /sw/share/cmake-2.8/Modules/FindKDE4.cmake

       affects policy settings.  CMake is implying the NO_POLICY_SCOPE
    option for
       compatibility, so the effects are applied to the including context.
    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- Configuring incomplete, errors occurred!

    |

So I tried again with the original prefix setting:||
||

    |
    gse-103-10:rkward Home$ export PATH=/opt/local/bin:/opt/local/lib:$PATH
    gse-103-10:rkward Home$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config
    --prefix` -DR_EXECUTABLE=/applications/r
    -- Found Qt-Version 4.4.3 (using /opt/local/bin/qmake)
    -- 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/lib/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)


    CMake Warning (dev) at /sw/share/cmake-2.8/Modules/FindKDE4.cmake:95
    (FIND_PACKAGE):
       Policy CMP0011 is not set: Included scripts do automatic
    cmake_policy PUSH
       and POP.  Run "cmake --help-policy CMP0011" for policy details. 
    Use the
       cmake_policy command to set the policy and suppress this warning.

       The included script

         /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake

       affects policy settings.  CMake is implying the NO_POLICY_SCOPE
    option for
       compatibility, so the effects are applied to the including context.
    Call Stack (most recent call first):
       CMakeLists.txt:10 (FIND_PACKAGE)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at CMakeLists.txt:10 (FIND_PACKAGE):
       Policy CMP0011 is not set: Included scripts do automatic
    cmake_policy PUSH
       and POP.  Run "cmake --help-policy CMP0011" for policy details. 
    Use the
       cmake_policy command to set the policy and suppress this warning.

       The included script

         /sw/share/cmake-2.8/Modules/FindKDE4.cmake

       affects policy settings.  CMake is implying the NO_POLICY_SCOPE
    option for
       compatibility, so the effects are applied to the including context.
    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- Configuring incomplete, errors occurred!|

Looks like I need to 'set the policy', but I have no idea how to go 
about this... Anymore ideas?

Thanks for the help!

Roel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20100503/e96e54d1/attachment.html>


More information about the Rkward-users mailing list