LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-15-2011, 04:41 PM   #1
Hangaber
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware, Debian
Posts: 93

Rep: Reputation: 25
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
/home/myusername/.kde/share/apps;/usr/share/kde4/apps

# 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
QGpgme.

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:

QGpgmeConfig.cmake
qgpgme-config.cmake

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):
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: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, 05:37 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,644

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
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, 05:49 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,668

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

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


The online dep list http://packages.debian.org/source/sid/kmymoney


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, 07:07 PM   #4
Hangaber
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware, Debian
Posts: 93

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

Thank you AlucardZero and knudfl!
 
Old 01-15-2013, 06:34 PM   #5
altagir
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
 
  


Reply


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 1 05-14-2010 11:52 AM
Kmymoney broke after install KDE 3.5 AGazzaz Ubuntu 5 02-01-2010 03:51 AM
How Required are the minimun system requirements? jbrader Slackware 2 10-03-2006 05:04 AM
How to build KDE apps in FC4? belliott4488 Fedora 5 02-02-2006 09:49 PM
minimun installation of kde linjia Linux - Newbie 2 10-18-2004 09:02 AM


All times are GMT -5. The time now is 07:38 PM.

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