This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cmake "FindPackageHandleStandardArgs" issue

Tags: None
(comma "," separated)
roger3000
Registered Member
Posts
22
Karma
0
Hi,

I wish to install KMM4.6.1 in a LinuxMint11 (based on Ocelot), with KDE4.7.2.

I am stuck during compiling:
Code: Select all
$ sudo cmake .. -DCMAKE_INSTALL_PREFIX=/usr
[sudo] password for roger:
-- The C compiler identification is GNU
-- 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
-- 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.7.4 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/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/i386-linux-gnu/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
-- Found Phonon: /usr/include
-- 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.7 include dir: /usr/include
-- Found KDE 4.7 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Could NOT find Boost
-- No usable gpgme flavours found.
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE):
  Could NOT find QGpgme (missing: QGPGME_LIBRARY QGPGME_INCLUDE_DIR
  _QGPGME_EXTRA_LIBRARY)
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/FindQGpgme.cmake:44 (find_package_handle_standard_args)
  CMakeLists.txt:65 (find_package)


-- Configuring incomplete, errors occurred!


I installed all the packages I could find with a
Code: Select all
$ apt-file search FindPackageHandleStandardArgs
cmake-data: /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake
kdelibs5-dev: /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake
libcgal-dev: /usr/lib/CGAL/CGAL_FindPackageHandleStandardArgs.cmake
libphonon-dev: /usr/share/phonon-buildsystem/FindPackageHandleStandardArgs.cmake
libvtk5-dev: /usr/lib/vtk-5.6/CMake/FindPackageHandleStandardArgs.cmake
libvtk5-dev: /usr/lib/vtk-5.6/CMake/FindPackageHandleStandardArgs2.cmake


I could'nt find any usefull information - at least to me...
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
You need the libgpgme++-dev package


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
zebulon
Registered Member
Posts
417
Karma
2
OS
You may also want to check viewtopic.php?f=69&t=92200.
roger3000
Registered Member
Posts
22
Karma
0
hello,

thanks, both of you!

I guess I still have a dependency issue:
Code: Select all
$ sudo apt-get build-dep kmymoney
[sudo] password for roger:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: La dépendance Build-Depends vis-à-vis de kmymoney ne peut être satisfaite car le paquet libalkimia-dev ne peut être trouvé


I could'nt find anything on this package (Synaptic, Google, apt-file search) except 1 package related to Pengolin...

Did I miss something?..

Thanks again for your help :)
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
For libalkimia, you'll probably want to build it from scratch. It's going to be easier than finding a package for Mint.

You can find it here: http://kde-apps.org/content/show.php/li ... ent=137323

You'll need libGMP to build it.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
roger3000
Registered Member
Posts
22
Karma
0
thanks to both of you!

I finnaly got a clean, working install of KMM4 :)


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]