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

problem installing KMM 4.5

Tags: None
(comma "," separated)
zebulon
Registered Member
Posts
417
Karma
2
OS

problem installing KMM 4.5

Sun Aug 29, 2010 10:20 pm
I am having trouble installing KMM 4.5. I already installed some missing prerequisites (kdelibs5-dev, kdepimlibs5-dev) but I seem stuck now. cmake gives:

-- Found Qt-Version 4.6.2 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.1
-- 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
-- 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)


-- Configuring incomplete, errors occurred!


Any idea what I should do? "System Settings" tells me I have KDE 4.4.2. If I need to get 4.5 first, what is the easiest way to install it?

Thanks in advance
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: problem installing KMM 4.5

Sun Aug 29, 2010 11:13 pm
You need to install libgpgme++-dev.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 12:51 am
The library is missing from /usr/lib as you thought, but:
$ sudo apt-get install libgpgme++-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libgpgme++-dev


So I tried:
$ apt-file search libgpgme
kdepimlibs-dbg: /usr/lib/debug/usr/lib/libgpgme++-pth.so.2.4.0
kdepimlibs-dbg: /usr/lib/debug/usr/lib/libgpgme++-pthread.so.2.4.0
kdepimlibs-dbg: /usr/lib/debug/usr/lib/libgpgme++.so.2.4.0
kdepimlibs5: /usr/lib/libgpgme++-pth.so.2
kdepimlibs5: /usr/lib/libgpgme++-pth.so.2.4.0
kdepimlibs5: /usr/lib/libgpgme++-pthread.so.2
kdepimlibs5: /usr/lib/libgpgme++-pthread.so.2.4.0
kdepimlibs5: /usr/lib/libgpgme++.so.2
kdepimlibs5: /usr/lib/libgpgme++.so.2.4.0
kdepimlibs5-dev: /usr/lib/libgpgme++-pth.so
kdepimlibs5-dev: /usr/lib/libgpgme++-pthread.so
kdepimlibs5-dev: /usr/lib/libgpgme++.so
...etc...


Does this not indicate I should have gotten it when installing kdepimlibs5-dev?
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 1:12 am
what is your distro, and what cmake command did you run?

you usually create a folder within the source, then from that folder, you run:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 1:20 am
How do I get the exact distribution identifier?

I followed instructions in README.cmake.
$ mkdir build
$ cd build
$ cmake ..
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 1:31 am
You are using either Debian, Ubuntu, or Linux Mint. Does any of these ring a bell?

Except for Linux Mint, the other ones have packages available so that you don't have to compile from scratch.

Anyway, try this sentence:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 1:44 am
I am running Kubuntu. Running cmake with the prefix option gives the exact same result (initial post).

How do I get the binary package?

Thanks.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 1:52 am
Here is the PPA for Kubuntu: https://edge.launchpad.net/~claydoh/+archive


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 1:57 am
Isn't that 1.0.5 fr KDE3? I already have that. I'd like to try the version 4.5 that was just released for KDE4.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 2:00 am
Check all the repositories in that PPA. It has packages for the 4.5 version


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 2:23 am
OK, I got that package. It looks exactly like the first one I obtained. It gave the same error when trying to build it. BTW did you see this:

Removed from disk on 2010-08-26.
Removal requested on 2010-08-26.
Deleted on 2010-08-26 by Clay Weber
Published on 2010-08-26

Removed files can still be downloaded from the Librarian; see below.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 3:21 am
You know what? Better wait until the next Kubuntu upgrade. You are not missing many new features and Kubuntu Maverick is due in October. That's not so long and you'll be better off like that.

There are some things you can break when building and installing from source, and I'd recommend you to wait and install it when it's available on the main repos. I haven't used Kubuntu in so long that I'm affraid you may break something if I mislead you.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: problem installing KMM 4.5

Mon Aug 30, 2010 12:41 pm
Fair enough. Thanks.
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: problem installing KMM 4.5  Topic is solved

Sun Nov 21, 2010 4:45 pm
I finally got this to work. I was missing loads of things, and the exact name of the missing packages was not always easy to find (libgpgme11-dev, Boost, doxygen, libxml, rpm, libxml*, glibmm*). Another problem was a case confusion in cmake with QGpgme vs. qgpgme and Gpgme vs. gpgme. I solved that one by duplicating /usr/share/kde4/apps/cmake/modules/FindQGpgme.cmake to Findqpgme.cmake, and changing any string QPgme to qpgme. I did the same for FindGpgme.cmake. I also had to change caps in CMakeLists.txt.

Maybe this isn't the proper way to go about it, but at least it's compiling now.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]