Master Branch Compile Error
Jack Ostroff
ostroffjh at users.sourceforge.net
Wed Oct 2 18:23:12 BST 2024
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.
Jack
More information about the KMyMoney-devel
mailing list