Compiling Master Branch
Brendan Coupe
3 at Coupe7.com
Thu May 16 01:04:38 BST 2024
On 5/15/24 10:54, Jack via KMyMoney-devel wrote:
> Note in the output:
> -- The following features have been enabled:
> * LibOFX, Enables OFX import, export, and Direct Connect using LibOFX
> library.
>
> So, I suspect your problem lies other than with libofx.
>
> -- Configuring incomplete, errors occurred!
> make: *** No targets specified and no makefile found. Stop.
>
> What command had you typed? Configuring is usually done by cmake, so I
> don't know why it looks like make is complaining.
>
> If this is part of some more complete build system, is it possible
> that cmake is being told to use ninja, but the build system is trying
> to use make? Look at the cmake line, and there should be a parameter
> to tell it whether to prepare for ninja or make.
>
Thanks for your help.
I wrote scripts to compile and install KMM many years ago. They stopped
working on the 5.1 branch last fall but I didn't bother to troubleshoot
them since there wasn't much going on with the 5.1 branch. At the time,
I was able to compile the master branch once I compiled and installed
the required version of libalkimia.
This is the first time I have tried to compile the master branch in a
while. I am not a developer and worked with this list back when I
created the scripts in order to get them to work.
My scripts appear to run cmake and then make. This error happens while
cmake is running. Luckily I echo the command that the scripts runs which is:
cmake -DCMAKE_INSTALL_PREFIX=/usr/
-DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins
/usr/local/src/kmm/kmymoney-2024.05.15-10.12.47-GIT-MASTER
When it gets to the make step the output is:
make: *** No targets specified and no makefile found. Stop.
If I remember correctly, cmake makes the makefile, which make uses.
Since cmake fails, it appears the makefile does not get created.
>
> On 5/15/24 12:41 PM, Brendan Coupe via KMyMoney-devel wrote:
>> It stopped soon after that message:
>>
>> 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)
>>
>> -- 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.
>> * 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.
>>
>>
>> **
>> *Brendan Coupe*
>> *3 at Coupe7.com*
>>
>>
>> On 5/15/24 10:25, Jack via KMyMoney-devel wrote:
>>> On 5/15/24 12:18 PM, Brendan Coupe via KMyMoney-devel wrote:
>>>>
>>>> I have been compiling KMM for almost 20 years. I decided to try the
>>>> master branch.
>>>>
>>>> I'm running Fedora 39. I compiled and installed libalkimia first.
>>>>
>>>> When I try to compile the master branch I get the following error:
>>>>
>>>> -- The following OPTIONAL packages have not been found:
>>>> * libofx (required version >= 7.0.0)
>>>>
>>>> I have version 0.10.9-3.fc39, which appears to be the latest
>>>> version on the libofx git page.
>>>>
>>>> What am I missing?
>>>>
>>> Quite possibly nothing. I've been seeing that message for a long
>>> time, but if you look later in the cmake output, it should show that
>>> ofx IS included in the features to be compiled. I've never bothered
>>> to track down the cause of that message, since ofx import works.
>>>
>>> Jack
>>>
--
**
*Brendan Coupe*
*3 at Coupe7.com*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20240515/5784f652/attachment-0001.htm>
More information about the KMyMoney-devel
mailing list