[rkward-users] problem installing on Mac

Roel Verberne roel.verberne at unil.ch
Wed May 5 15:42:27 UTC 2010


Hi,

I had a bigger problem with the KDE installation, a lot of files were 
missing due to a problem compiling redland. As such the KDE build was 
incomplete. Some kind developer had some .deb files for me though, so 
that problem is fixed now. I retried the build every way we discussed 
before but none of it worked. Below is the log from using the method you 
described in the previous post.

    gse-103-10:build Home$ export KDE4_TYPE=x11
    gse-103-10:build Home$ export KDE4_PREFIX=/sw
    gse-103-10:build Home$ /sw/sbin/kde4-buildenv.sh
    ---------------------------------
    KDE4 Build Environment Configured
    ---------------------------------

       Fink Prefix:        /sw
       Type:               x11
       Install Prefix:     /sw/opt/kde4/x11

    Environment Variables:

       PATH:              
    /sw/opt/kde4/x11/bin:/sw/lib/freetype219/bin:/sw/lib/fontconfig2/bin:/sw/lib/qt4-x11/bin:/sw/opt/strigi/x11/bin:/sw/opt/soprano/x11/bin:/sw/opt/akonadi/x11/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin
       CMAKE_INCLUDE_PATH:
    /sw/opt/kde4/x11/include:/sw/lib/system-openssl/include:/sw/lib/freetype219/include:/sw/lib/fontconfig2/include:/sw/lib/qt4-x11/include:/sw/opt/strigi/x11/include:/sw/opt/soprano/x11/include:/sw/opt/attica/x11/include:/sw/opt/akonadi/x11/include::/sw/include
       CMAKE_LIBRARY_PATH:
    /sw/opt/kde4/x11/lib:/sw/lib/system-openssl/lib:/sw/lib/freetype219/lib:/sw/lib/fontconfig2/lib:/sw/lib/qt4-x11/lib:/sw/opt/strigi/x11/lib:/sw/opt/soprano/x11/lib:/sw/opt/attica/x11/lib:/sw/opt/akonadi/x11/lib::/sw/lib
       CMAKE_MODULE_PATH: 
    /sw/opt/kde4/x11/share/apps/cmake/modules::/sw/share/apps/cmake/modules
       PKG_CONFIG_PATH:   
    /sw/opt/kde4/x11/lib/pkgconfig:/sw/lib/system-openssl/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/qt4-x11/lib/pkgconfig:/sw/opt/soprano/x11/lib/pkgconfig:/sw/opt/attica/x11/lib/pkgconfig:/sw/opt/akonadi/x11/lib/pkgconfig:
       CPPFLAGS:           -I/sw/opt/kde4/x11/include
    -I/sw/lib/system-openssl/include -I/sw/lib/freetype219/include
    -I/sw/lib/fontconfig2/include -I/sw/lib/qt4-x11/include
    -I/sw/opt/strigi/x11/include -I/sw/opt/soprano/x11/include
    -I/sw/opt/attica/x11/include -I/sw/opt/akonadi/x11/include
       LDFLAGS:            -L/rkward_trunk/rkward/build/build/lib
    -L/sw/opt/kde4/x11/lib -L/sw/lib/system-openssl/lib
    -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib
    -L/sw/lib/qt4-x11/lib -L/sw/opt/strigi/x11/lib
    -L/sw/opt/soprano/x11/lib -L/sw/opt/attica/x11/lib
    -L/sw/opt/akonadi/x11/lib 
    -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    -Wl,-dead_strip_dylibs
       KDE4_CMAKE_ARGS:   
    -DBUNDLE_INSTALL_DIR:PATH='/sw/opt/kde4/x11/bin'
    -DCMAKE_INSTALL_PREFIX='/sw/opt/kde4/x11'
    -DCMAKE_BUILD_TYPE=RelWithDebInfo
    -DSTRIGI_STRIGIQTDBUSCLIENT_LIBRARY_RELEASE:FILEPATH='/sw/opt/strigi/x11/lib/libstrigiqtdbusclient.dylib'
    -DSOPRANO_PLUGIN_DIR:PATH='/sw/opt/soprano/x11/share'
    -DOPENGL_INCLUDE_DIR:PATH=/usr/X11/include
    -DOPENGL_gl_LIBRARY:FILEPATH=/usr/X11/lib/libGL.dylib
    -DOPENGL_glu_LIBRARY:FILEPATH=/usr/X11/lib/libGLU.dylib
    -DBoost_ADDITIONAL_VERSIONS=1.41;1.41.0 -DBOOST_ROOT=/sw
    -DBOOST_INCLUDEDIR=/sw/include/boost-1_41 -DBOOST_LIBRARYDIR=/sw/lib
    -DPYTHON_EXECUTABLE=/usr/bin/python2.5 -D_KDE_DEFAULT_HOME_POSTFIX=4
    -DSYSCONF_INSTALL_DIR='/sw/opt/kde4/x11/etc'

    gse-103-10:build Home$ cmake .. $KDE4_CMAKE_ARGS
    -DR_EXECUTABLE=/Application/R
    CMake Error at /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:95
    (FIND_PACKAGE):
       Could not find module FindKDE4Internal.cmake or a configuration
    file for
       package KDE4Internal.

       Adjust CMAKE_MODULE_PATH to find FindKDE4Internal.cmake or set
       KDE4Internal_DIR to the directory containing a CMake
    configuration file for
       KDE4Internal.  The file will have one of the following names:

         KDE4InternalConfig.cmake
         kde4internal-config.cmake

    Call Stack (most recent call first):
       CMakeLists.txt:10 (FIND_PACKAGE)


    CMake Error at rkward/dataeditor/CMakeLists.txt:19 (QT4_AUTOMOC):
       Unknown CMake command "QT4_AUTOMOC".


    -- Configuring incomplete, errors occurred!
    CMake Error: Unable to open cache file for save.
    /rkward_trunk/rkward/build/CMakeCache.txt
    CMake Error: : System Error: Permission denied
    gse-103-10:build Home$


As you asked, I checked whether Automoc4Config.cmake is installed, which 
it is, under: /sw/opt/kde4/x11/lid/, not /opt/local/ as you wrote. Might 
be important as automoc also shows up in this error message.

I located FindKDE4internal.cmake in /sw/share/cmake-2.8/modules/ , I 
think the problem might actually be that I can't find a 
KDE4InternalConfig.cmake or kde4internal-config.cmake file on my system.

So, I haven't given up yet, would really like to get this to work, I'm 
just not familiar with most of this though..

Hope you can help me a bit more, regards,

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


More information about the Rkward-users mailing list