mailing list subject perforce-plugin make issues

Daniel Gore dgore at digideal.com
Wed Jun 29 23:00:12 BST 2011


1. PROBLEM: unable to build perforce-plugin
< git://gitorious.org/perforce-plugin/perforce-plugin.git >

   The following error cannot be resolved:

   CMake Warning at
   /usr/share/kde4/apps/cmake/modules/FindKDevPlatform.cmake:45 
(find_package):

   Could not find a configuration file for package KDevPlatform.

   Set KDevPlatform_DIR to the directory containing a CMake 
configuration file
   for KDevPlatform.  The file will have one of the following names:

     KDevPlatformConfig.cmake
     kdevplatform-config.cmake

2. ENVIRONMENT: KDE4, kdevelop4

3. KDEVELOP INSTALL PATHS:
     /usr/share/kde4/apps/kdevelop
     /usr/include/kdevplatform/
     /usr/lib/cmake/kdevplatform/

4. INSTALL INSTRUCTIONS:
     To install simply follow these rules:
       mkdir build
       cd  build
       cmake -DCMAKE_INSTALL_PREFIX=<kdevplatformdir>
             -DCMAKE_PREFIX_PATH=<kdevplatformdir> ../
       make
       make install

5. CMAKE BUILD COMMAND:

  desktop:/usr/lib/cmake/kdevplatform/perforce-plugin/build$
    cmake -DCMAKE_INSTALL_PREFIX=/usr/share/kde4/apps/kdevelop/
          -DCMAKE_PREFIX_PATH=/usr/share/kde4/apps/kdevelop/ ../

<kdevplatformdir> set to /usr/share/kde4/apps/kdevelop/

6. LOCATION OF CONFIG FILES:

     /usr/lib/cmake/kdevplatform/KDevPlatformConfig.cmake
     /usr/lib/cmake/kdevplatform/kdevplatform-config.cmake

7. SET ENVIRONMENT VAR:     KDevPlatform_DIR
     This is inserted in CMakeLists.txt:9

     set( KDevPlatform_DIR /usr/lib/cmake/kdevplatform/ )

8. OUTPUT LOG FROM CMAKE COMMAND:
    desktop:/usr/lib/cmake/kdevplatform/perforce-plugin/build/CMakeCache.txt

     //The directory containing a CMake configuration file for KDevPlatform.
     KDevPlatform_DIR:PATH=KDevPlatform_DIR-NOTFOUND

9. COMPLETE OUTPUT LOG FROM CMAKE:
       -- The CXX compiler identification is GNU
       -- Check for working C compiler: /usr/bin/gcc
       -- Check for working C compiler: /usr/bin/gcc -- works
       -- Detecting C compiler ABI info
       -- Detecting C compiler ABI info - done
       -- Check for working CXX compiler: /usr/bin/c++
       -- Check for working CXX compiler: /usr/bin/c++ -- works
       -- Detecting CXX compiler ABI info
       -- Detecting CXX compiler ABI info - done
       -- CMakeLists: KDevPlatform_DIR now set to: 
/usr/lib/cmake/kdevplatform/
       -- Looking for Q_WS_X11
       -- Looking for Q_WS_X11 - 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.6.2 (using /usr/bin/qmake-qt4)
       -- Looking for XOpenDisplay in 
/usr/lib/libX11.so;/usr/lib/libXext.so;
                  /usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
       -- Looking for XOpenDisplay in 
/usr/lib/libX11.so;/usr/lib/libXext.so;
           /usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - 
found
       -- Looking for gethostbyname
       -- Looking for gethostbyname - found
       -- Looking for connect
       -- Looking for connect - found
       -- Looking for remove
       -- Looking for remove - found
       -- Looking for shmat
       -- Looking for shmat - found
       -- Looking for IceConnectionNumber in ICE
       -- Looking for IceConnectionNumber in ICE - found
       -- Found X11: /usr/lib/libX11.so
       -- 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
       -- Looking for _POSIX_TIMERS
       -- Looking for _POSIX_TIMERS - found
       -- Found Automoc4: /usr/bin/automoc4
       -- Found Perl: /usr/bin/perl
       -- Phonon Version: 4.3.1
       -- Found Phonon: /usr/lib/libphonon.so
       -- Found Phonon Includes: /usr/include/qt4/KDE;/usr/include/qt4
       -- Performing Test _OFFT_IS_64BIT
       -- Performing Test _OFFT_IS_64BIT - Failed
       -- Performing Test HAVE_FPIE_SUPPORT
       -- Performing Test HAVE_FPIE_SUPPORT - Success
       -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
       -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
       -- Performing Test __KDE_HAVE_GCC_VISIBILITY
       -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
       -- Found KDE 4.4 include dir: /usr/include
       -- Found KDE 4.4 library dir: /usr/lib
       -- Found the KDE4 kconfig_compiler preprocessor:
          /usr/bin/kconfig_compiler
       -- Found automoc4: /usr/bin/automoc4
       -- CMakeLists: Find KDevPlatform 1.1.1,
          KDevPlatform_DIR set to: /usr/lib/cmake/kdevplatform/

       -- FindKDevPlatform: find package KDevPlatform,
          KDevPlatform_DIR set to: /usr/lib/cmake/kdevplatform/

       CMake Warning at
       /usr/share/kde4/apps/cmake/modules/FindKDevPlatform.cmake:45
       (find_package):

       Could not find a configuration file for package KDevPlatform.

     Set KDevPlatform_DIR to the directory containing a CMake 
configuration file
       for KDevPlatform.  The file will have one of the following names:

           KDevPlatformConfig.cmake
           kdevplatform-config.cmake

       Call Stack (most recent call first):
         CMakeLists.txt:23 (find_package)


   CMake Error at
   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 
(MESSAGE):

     Could NOT find KDevPlatform (missing: KDevPlatform_CONFIG)

   Call Stack (most recent call first):
     /usr/share/kde4/apps/cmake/modules/FindKDevPlatform.cmake:55
     (find_package_handle_standard_args)
     CMakeLists.txt:23 (find_package)





More information about the KDevelop mailing list