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

Problems by compiling KMM 4.8.0 with cmake

Tags: None
(comma "," separated)
oesel
Registered Member
Posts
12
Karma
0
Hi together,

I tried to install KMM 4.8.0 from the latest tarball-archive on my Ubuntu 16.04. LTS.
I followed the instruction of README.cmake, but I got a few errors.

The first one is directly in the beginning.
By using
Code: Select all
sudo apt-get build-dep kmymoney

I get the error:
Code: Select all
Paketlisten werden gelesen... Fertig
E: Sie müssen einige »source«-URIs für Quellpakete in die sources.list-Datei eintragen.

Can you please tell me what source I should add into sources.list?

Furthermore I continued with the compiling process with cmake first.

After solving the problem that my system lacked several programs, now I reached another problem.

Code: Select all
cmake .. -DCMAKE_INSTALL_PREFIX=/usr

I get the error
Code: Select all
-- Found Qt-Version 4.8.7 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   graph
-- Found gpgme-config at /usr/bin/gpgme-config
-- Found gpgme v1.6.0, checking for flavours...
--  Found flavour 'vanilla', checking whether it's usable...yes
--  Found flavour 'pthread', checking whether it's usable...yes
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/kde4/apps/cmake/modules/FindGMP.cmake:21 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:117 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/test/Downloads/kmymoney-4.8.0/build/CMakeFiles/CMakeOutput.log".
See also "/home/test/Downloads/kmymoney-4.8.0/build/CMakeFiles/CMakeError.log".


Can anybody help me finish the installation.

Or is there another installation process available for the newest version 4.8.0 (like a deb-package or per apt-get)?

Thanks a lot.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Try my ppa

Otherwise, compiling is not difficult, but determining the correct -dev packages can be frustrating at first.

This should help get you started:
debhelper
cmake
pkg-kde-tools,
kdelibs5-dev
kdepimlibs5-dev
shared-mime-info
libaqbanking-dev
libgwenhywfar-core-dev
libgwengui-qt4-dev
libboost-graph-dev
libgpgme11-dev
libalkimia-dev
libical-dev
libofx-dev
libgmp-dev
pkg-config


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
oesel
Registered Member
Posts
12
Karma
0
Hey, that's it.
I tried to install it in a Virtual Machine and everything works fine.
I hope it will be work on my final system, too! :)

But I have one more question:
I miss a few icons in the left bar like "Categories", "Ledgers", "Investments" and "Forecast". They have all the same icon (like a letter).
And the other icons look quite simple (much more than my last known version).

How can I solve this small flaw?

BR
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
You will have to open the kde4 system settings icon module (in a terminal or in krunner) and set the icon theme to Oxygen:

Code: Select all
kcmshell4 icons


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
oesel
Registered Member
Posts
12
Karma
0
Great, now it looks like I know it!

Thanks a lot for your fast support!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]