Registered Member
|
Hello,
I originally tried to install KMyMoney 4.5.2, but ran into cmake errors. So I removed that, and tried to install 4.5.1. I'm still running into cmake errors, however I'm closer. Here is the error that I'm receiving patrickdickey@dcky-kubuntu-prtbl:~/Downloads/kmymoney-4.5.1/build$ cmake .. -- Found Qt-Version 4.7.0 (using /usr/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Found KDE 4.5 include dir: /usr/include -- Found KDE 4.5 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:139 (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! I'm lost. As far as I know, I have everything installed that's required. So, any help is greatly appreciated. If you suggest items to install, I'll tell you whether I have them or not. I do have KMyMoney 4.5.0 installed already. My KDE Platform version is 4.5.1 (although I'm currently logged into the Ubuntu Desktop--instead of the Kubuntu Desktop on Ubuntu 10.10). Thanks, and have a great day:) Patrick. Edited to fix the subject of the thread, since it's KMyMoney not KMoney... |
Registered Member
|
Yes, I ran into that as well. You can try this:
sudo apt-get install libboost-dev libgpgme11 libgpgme++2 Chances are, there is more. |
Registered Member
|
I already had the two libgpgme files installed. libgpgme++2 was set to manually installed. I'm installing libboost-dev right now. Ironically enough, I solved the problem in an albeit round-about way. I found the application in "claydoh"'s repositories on launchpad (not sure how I got to that point), and installed KMyMoney4.5.2 that way. The original thread was here viewtopic.php?f=69&t=18719 The launchpad ppa is here https://edge.launchpad.net/~claydoh/+ar ... oney2-kde4 And all of the available launchpad links for KMyMoney are here https://edge.launchpad.net/~claydoh/+related-software But, for the sake of this thread, if installing libboost-dev and the libgpgme files didn't work, what would be the next step? (I'm asking so that others may find the solutions they need--especially those not on (K)Ubuntu). Have a great day, and Merry Christmas. Patrick. |
Registered Member
|
Merry Christmas to you too!
You would also need doxygen, libxml, rpm, libxml*, glibmm*. After that, another problem is 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. |
Registered Member
|
Actually, shouldn't this fetch all prerequisites?
sudo apt-get install kdelibs4-dev build-essential |
Registered Member
|
not quite. (kdelibs4-dev is actually a KDE3 library)
should get most, if not all of them, with the possible exception of pkg-config. build-essential plus the following should pull in everything you need: kdelibs5-dev, kdepimlibs5-dev, shared-mime-info,libaqbanking29-dev, libboost-graph-dev, libfinance-quote-perl, libgpgme11-dev, libgwenhywfar47-dev, libical-dev, libjpeg62-dev, libofx-dev, libpng12-dev, libsqlite3-dev, libz-dev, libaqbanking29-plugins-qt4, libq4banking1, pkg-config But apt-get build-dep is a great way to get what you need in a majority of cases.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
I get an error for kmymoney and kmymoney4. Only kmymoney2 works. |
Registered Member
|
Sorry, I had forgotten that this is 10.04 we are talking about. Lucid provides the 1.0.4 (KDE3) version, so running apt-get build-dep will pull in dependencies based on that. You will have to update aqbanking to a newer version if you need to have that support built. I have all this in my ppa if you don't want to build everything yourself. If you still want to do your own compiling, you can still add the ppa, and running apt-get build-dep (plus build-essential) then will definitely pull in what you need in order to do so
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
Hi everyone,
Thank you for the replies. I'm going to mark this as solved, since it is in the ppa. If you have any other suggestions for people who want to compile it themselves (or don't have access to a repository that contains it), please feel free. Have a great week:) Patrick. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]