Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-15-2011, 05:41 PM   #1
Registered: Sep 2004
Location: USA
Distribution: Slackware
Posts: 152

Rep: Reputation: 47
Question Minimun packages required to build kde apps (KMyMoney)

Debian squeeze amd_65, using gde3/gnome.

I'd like to use KMyMoney, but the latest packages (v4.5.2) and not the v3.9.8/test version that's in Synaptic Package Manager.

I'd rather not install every package that contains *kde* in the name, but I'm more than willing to install the minimum required to compile and run them.

Trying to build kmymoney v4.5.2. After some google searches on the specific errors, I initially learned about apt-file and the find feature.

First error;

CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in

# apt-file find FindKDE4Internal.cmake
kdelibs5-dev: /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake

# aptitude install kdelibs5-dev


Second error;
-- Could NOT find Boost
CMake Error at CMakeLists.txt:53 (find_package):
Could not find module FindQGpgme.cmake or a configuration file for package

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


CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find KdepimLibs (missing: KdepimLibs_CONFIG)
Call Stack (most recent call first):
/usr/share/kde4/apps/cmake/modules/FindKdepimLibs.cmake:80 (find_package_handle_standard_args)

# updatedb
# locate QGpgmeConfig.cmake
# locate qgpgme-config.cmake
# apt-file find QGpgmeConfig.cmake
# apt-file find qgpgme-config.cmake
# apt-file find QGpgme
kdepimlibs5-dev: /usr/share/kde4/apps/cmake/modules/FindQGpgme.cmake

# aptitude install kdepimlibs5-dev

Third error;

-- Could NOT find Boost
-- No usable gpgme flavours found.
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Call Stack (most recent call first):
/usr/share/kde4/apps/cmake/modules/FindQGpgme.cmake:44 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)

I'm unable to determine what package I need for 'Boost', and although apt-file reports that kdepimlibs5-dev is the package for gpgme - I still have no files called QGpgmeConfig.cmake or qgpgme-config.cmake, and the log still shows 'Could NOT find QGpgme'.

Any pointers on what package(s) I'm missing, or other ways to determine what I need? Thanks in advance.
Old 01-15-2011, 06:37 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
Try "apt-get build-dep kmymoney" to install required dev packages automatically. This should work in many cases, but sometimes the versions you get are too old.
1 members found this post helpful.
Old 01-15-2011, 06:49 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,756

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Debian Squeeze / Sid -64bits.

The required packages hopefully are, what you get with the command :
# apt-get build-dep kmymoney

The online dep list

cd kmymoney-4.5.2/build/ && cmake .. && make : No errors on my "Squeeze/Sid".

( My install is Sid : But all repos are named Squeeze.)

1 members found this post helpful.
Old 01-15-2011, 08:07 PM   #4
Registered: Sep 2004
Location: USA
Distribution: Slackware
Posts: 152

Original Poster
Rep: Reputation: 47
Excellent, this was exactly what I needed. KMyMoney v4.5.2 compiled now.

Thank you AlucardZero and knudfl!
Old 01-15-2013, 07:34 PM   #5
LQ Newbie
Registered: Jan 2013
Location: Montreal
Distribution: kubuntu
Posts: 3

Rep: Reputation: Disabled
-- No usable gpgme flavours found -> I had to add:

sudo apt-get install libgpgme11-dev


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimum packages required to install kde or gnome? cola Slackware 12 07-11-2016 06:36 PM
Kmymoney broke after install KDE 3.5 AGazzaz Ubuntu 5 02-01-2010 04:51 AM
How Required are the minimun system requirements? jbrader Slackware 2 10-03-2006 06:04 AM
How to build KDE apps in FC4? belliott4488 Fedora 5 02-02-2006 10:49 PM
minimun installation of kde linjia Linux - Newbie 2 10-18-2004 10:02 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration