On 10/21/24 12:44 PM, Thomas Baumgart via KMyMoney-devel wrote:
Brendan,
On Montag, 21. Oktober 2024 19:04:23 CEST Brendan Coupe via KMyMoney-devel
wrote:
I need to move on from Fedora 39 in the next month or two since it will
no longer get updates. I have setup a test system that is running Fedora
40 and i have attempted to compile both the master branch and the 5.1
branch on it. They both compile, install and run properly on Fedora 39.
My data file is XML based and encrypted.
Master Branch:
==============
Compiling KMM fails about half way through:
[ 50%] Automatic MOC for target kmmreport-export
[ 50%] Built target kmmreport-export_autogen
[ 51%] Building CXX object
tools/CMakeFiles/kmmreport-export.dir/kmmreport-export.cpp.o
[ 51%] Building CXX object
tools/CMakeFiles/kmmreport-export.dir/kmmreport-export_autogen/mocs_compilation.cpp.o
[ 51%] Built target xmlstorage
[ 51%] Built target mymoneystoragenames-test
[ 51%] Linking CXX shared library ../../lib/libkmm_models.so
/usr/local/src/kmm/kmymoney-2024.10.21-10.11.34-GIT-MASTER/tools/kmmreport-export.cpp:26:10:
fatal error: objectinfotable.h: No such file or directory
26 | #include "objectinfotable.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tools/CMakeFiles/kmmreport-export.dir/build.make:96:
tools/CMakeFiles/kmmreport-export.dir/kmmreport-export.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2287:
tools/CMakeFiles/kmmreport-export.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 51%] Built target kmm_models
make: *** [Makefile:146: all] Error 2
Make sure you have
./kmymoney/plugins/views/reports/core/objectinfotable.h
This file is there.
in your directory and probably re-run cmake in a complete empty build
directory. tools/CMakeLists.txt reference reports as a dependency and
therefore, the .../core directory should be part of the include paths
the compiler searches. To make sure that is the case, you can run
make VERBOSE=1
which prints the executed commands to the console. Adding -j1 to the
I tried to compile this afternoon and it completed and I was able to
install it. Nothing changed on my side (same build and install scripts
and no updates to Fedora) so unless something changed on git I have no
idea why it's working 8 hours later.
make arguments helps to see all of them one at a time.
5.1 Branch:
==========
Compiling and installation complete. When I run KMM I get the following
error in a popup window:
Cannot open file as requested
In contrast to master it does not dump the gpg2 location information. So
we better get the master version to compile and see what it spits out.
[...]
The master that I just installed is having the same error as 5.1 so what
do I need to do now?
I removed the compiled version and installed the version from Fedora and
got the same error.