See below.

*Brendan Coupe*
*3...@coupe7.com*


On 2024-10-02 11:23 AM, Jack Ostroff via KMyMoney-devel wrote:
Hi Brendan,

On 10/2/24 1:02 PM, Brendan Coupe via KMyMoney-devel wrote:

I have been compiling KMM with scripts I wrote 15 or so years ago. I stopped updating 5he 5.1 branch about a year ago when it was clear very little was happening there. I want to switch to the master branch as it appears to be getting close to final release (in completion, not necessarily release date).

I created scripts to compile and install libalkimia so that I have the latest version since Fedora does not supply the necessary version of it.

When I try to compile KMM I get the following output:

======================================================================================

Build type: RelWithDebInfo
-- The following REQUIRED packages have not been found:

-- The following OPTIONAL packages have not been found:
 * libofx (required version >= 7.0.0)

This is just a side effect of how cmake looks for libofx.  It doesn't find it using one naming scheme

-- The following features have been enabled:
 * Encryption, Allows to store your financial data using strong GPG encryption.
 * Doxygen, Generate API documentation with Doxygen (for devs only).
 * Address book, Allows fetching payee information from KDE PIM system.
 * Holidays, Allows fetching holidays from KDE PIM system.
 * Forecast view, Adds possibility to calculate forecasts.
 * Reports view, Adds possibility to display chart and table reports.
 * Budget view, Adds possibility to plan a budget.
 * Online job outbox view, Adds outbox for sending online jobs.
 * SQL Storage, Allows storing your financial data in SQL database.
 * LibOFX, Enables OFX import, export, and Direct Connect using LibOFX library.

But does find it with a different naming, so, as you noted, all is good here.

 * SQLCipher, Allows encrypting your SQLite3 database.
 * KBanking, Interface for the following online banking protocols: HBCI, EBICS, OFX Direct Connect, Paypal
 * Woob, Online banking interface using Woob.
 * iCalendar, iCalendar integration.

-- The following features have been disabled:
 * SQL Tracer, It traces the SQL queries to the console.
 * IBAN/BIC data, Adds predefined IBAN/BIC numbers to KMyMoney (note: doesn't work yet).
 * Cost center support, Adds support for cost centers (for devs only).
 * Warnings as errors, Enforces all warnings to be reported as errors.
 * Model test, Generate modeltest code (for devs only).
 * QtDesigner, Qt-Designer library support (for devs only).

-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
======================================================================================

Earlier this year I asked about the libofx error and was told to ignore it since it appears to be ignored and libofx is enabled.

The last 2 lines are the problem.

Please provide us with the exact cmake command you are using.  Cmake is capable of preparing for compiling with either "make" or "ninja."  (I've personally largely switched to the latter, as I find it faster than make, but I thinks it's still a personal choice.)  I forget the default, but if it's creating files for ninja, there will be no Makefile, although I don't know why it would be looking for it in that case.  One other thing you can try is "ccmake ." in the build directory, and look through the options to see if anything looks amiss.

cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins /usr/local/src/kmm/kmymoney-2024.10.02-11.45.55-GIT-MASTER

I have an option in my build script config file to ask about running ccmake. It was off by default so I forgot about it. I do not remember adding it but I'm sure it was based on advice from the developers. Not sure I ever used it.

When I turn it on I get a bunch of info and this at the bottom:

===================================================================
Qt5Gui_DIR: The directory containing a CMake configuration file for Qt5Gui.
Keys: [enter] Edit an entry [d] Delete an entry CMake Version 3.27.7
      [l] Show log output   [c] Configure
      [h] Help              [q] Quit without generating
      [t] Toggle advanced mode (currently off)

    Qt5Gui_DIR: The directory containing a CMake configuration file for t5Gui.
Keys: [enter] Edit an entry [d] Delete an entry CMake Version 3.27.7
      [l] Show log output   [c] Configure
      [h] Help              [q] Quit without generating
      [t] Toggle advanced mode (currently off)

===================================================================

I'm not sure what to do next. I hit "c" but that doesn't seem to help.

I forgot to mention I'm on Fedroa 39. I want ot get this done before testing Fedora 40, which did not allow me to run KMM when I first upgraded my test syetm 5 months ago.


Jack

Reply via email to