Compiling on Ubuntu fails at 97 , how to enable KBanking, AqBanking?
Thomas Baumgart
thb at net-bembel.de
Fri Sep 20 06:49:56 BST 2019
Hi,
On Donnerstag, 19. September 2019 23:06:55 CEST Timon wrote:
> Hi,
>
> some of you may have read my e-mails on the user mailing list...
>
> I consulted the pages I could find ...
> https://kmymoney.org/faq.php#question1
> https://techbase.kde.org/Projects/KMyMoney#Installation
>
> ... and asked for help via the users mailing list.
>
> Background information on the system:
>
> timon at ubuntu18ge:/usr/local/src/kmm$ uname -a
> Linux ubuntu18ge 4.15.0-64-generic #73-Ubuntu SMP Thu Sep 12 13:16:13
> UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
>
> timon at ubuntu18ge:/usr/local/src/kmm$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 18.04.3 LTS
> Release: 18.04
> Codename: bionic
>
>
> I spent several hours hunting down dependencies, googling each one,
> until I realized that
> sudo apt-get build-dep kmymoney
> could be quite helpful. I edited the list of packages, because for PSD2
> I need the latest aqbanking and libgwenhywfar and I installed both of
> them from git, into the default prefix (/usr, IIRC) in the hope that
> they would be discovered automatically.
>
> Problems:
>
> 1. Build stops at 97 %, see log below. Weird, because this file is
> provided by the install qtbase5-dev and is really at:
> /usr/include/x86_64-linux-gnu/qt5/QtSql/qsqldriverplugin.h
> Do I ned to do anything special to get that included properly?
>
> 2. At the beginning of the log it shows that KBanking is disabled, how
> can I enable it?
> Because aqbanking is crucial for me (latest aqbanking, because of
> PSD2).
>
> Which other information / file can I provide to make understanding this
> easier?
>
> Thank you!!
>
> Timon
>
>
> timon at ubuntu18ge:~$ cd /usr/local/src/kmm
> timon at ubuntu18ge:/usr/local/src/kmm$ ./BuildKMM.sh
> Gtk-Message: 21:35:51.500: GtkDialog mapped without a transient parent. This is discouraged.
> Cloning into '/usr/local/src/kmm/kmymoney-2019.09.19-21.35.50-GIT-5.0'...
> remote: Counting objects: 68025, done.
> remote: Compressing objects: 100% (21432/21432), done.
> remote: Total 68025 (delta 56468), reused 56049 (delta 45938)
> Receiving objects: 100% (68025/68025), 47.64 MiB | 3.29 MiB/s, done.
> Resolving deltas: 100% (56468/56468), done.
> -DCMAKE_INSTALL_PREFIX=/usr/ -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins -DENABLE_UNFINISHEDFEATURES=ON
>
> /usr/local/src/kmm/kmymoney-2019.09.19-21.35.50-GIT-5.0
>
> cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins -DENABLE_UNFINISHEDFEATURES=ON /usr/local/src/kmm/kmymoney-2019.09.19-21.35.50-GIT-5.0
Add -DENABLE_SQLCIPHER=OFF if you don't need the SQL cipher
> -- The CXX compiler identification is GNU 7.4.0
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
[...]
> -- Performing Test LIBOFX_HAVE_CLIENTUID - Success
> CMake Warning at CMakeLists.txt:240 (find_package):
> By not providing "Findgwengui-qt5.cmake" in CMAKE_MODULE_PATH this project
> has asked CMake to find a package configuration file provided by
> "gwengui-qt5", but CMake did not find one.
>
> Could not find a package configuration file provided by "gwengui-qt5" with
> any of the following names:
>
> gwengui-qt5Config.cmake
> gwengui-qt5-config.cmake
>
> Add the installation prefix of "gwengui-qt5" to CMAKE_PREFIX_PATH or set
> "gwengui-qt5_DIR" to a directory containing one of the above files. If
> "gwengui-qt5" provides a separate development package or SDK, be sure it
> has been installed.
This is the reason, why KBanking will not be build. Did you configure gwenhywfar and aqbanking to support Qt5? Here are my configure/cmake statements to build this stuff:
Gwenhywfar: ./configure --prefix=/usr/local --with-guis=qt5 --enable-system-certs
AqBanking: ./configure --prefix=/usr/local --enable-full-doc
KMyMoney: cmake .. -DENABLE_SQLCIPHER=OFF -DENABLE_UNFINISHEDFEATURES=ON -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins
I usually have a 'build' subdir in the source tree, so '..' points to the sources. This might be different for you (see script).
Make sure you don't have duplicates of AqBanking installed. This sometimes causes real trouble. Can happen if you install a version, update from git and install again.
It could also be, that you have to remove the build files of KMyMoney before you run cmake again. Some of the collected information is cached and not checked during each run. Removing the file CMakeCache.txt in the top build directory solves the issue.
Hope that helps.
Oh, and next time please send the log as attached file. Makes it easier to read. TIA.
--
Regards
Thomas Baumgart
https://www.signal.org/ Signal, the better WhatsApp
-------------------------------------------------------------
Look out for a good password?
Checkout https://xkcd.com/936 first!
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20190920/3b50a8bc/attachment.sig>
More information about the KMyMoney-devel
mailing list