<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I"m not at the PC where I compile KMM, so this is from memory. 
      To me, it still looks like the current default is to prepare for
      ninja instead of make.  Try to  cd into the build dir and type
      "ccmake" and look for the build system.  If it's ninja, try
      changing it to make.  The command line parameter to cmake is -G,
      but I don't know if you need to say "make' or "Unix Makefiles." 
      (man ccmake)</p>
    <p>What confuses me (although I suppose there is just something
      about the process I've forgotten) is why cmake is apparently
      calling make instead of ninja if that's the issue, although I am
      obviously not certain.</p>
    <p>You say "when it gets to the make step" but I don't think cmaket
      normally calls make by itself, so are you sure it's cmake calling
      make, or is it your script?   If it's your script, I'd suggest (if
      I'm right about the cause) changing from make to ninja, if it's
      available for you.  I find it seems to complete the build quicker
      than make, although I admit that might be wishful thinking.<br>
    </p>
    <div class="moz-cite-prefix">On 5/15/24 8:04 PM, Brendan Coupe via
      KMyMoney-devel wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:89b30890-f702-4dd4-92fb-b1401f0dde22@Coupe7.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">On 5/15/24 10:54, Jack via
        KMyMoney-devel wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:0f2dc9cc-5f32-4d09-b1b3-aa7ef32daa35@users.sourceforge.net">Note
        in the output: <br>
        -- The following features have been enabled: <br>
         * LibOFX, Enables OFX import, export, and Direct Connect using
        LibOFX library. <br>
        <br>
        So, I suspect your problem lies other than with libofx. <br>
        <br>
        -- Configuring incomplete, errors occurred! <br>
        make: *** No targets specified and no makefile found.  Stop. <br>
        <br>
        What command had you typed? Configuring is usually done by
        cmake, so I don't know why  it looks like make is complaining. <br>
        <br>
        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. <br>
        <br>
      </blockquote>
      <p>Thanks for your help.<br>
      </p>
      <p>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.<br>
      </p>
      <p>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.</p>
      <p>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:</p>
      <p>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</p>
      <p>When it gets to the make step the output is:</p>
      <p>make: *** No targets specified and no makefile found.  Stop.</p>
      <p>If I remember correctly, cmake makes the makefile, which make
        uses. Since cmake fails, it appears the makefile does not get
        created.<br>
      </p>
      <blockquote type="cite"
cite="mid:0f2dc9cc-5f32-4d09-b1b3-aa7ef32daa35@users.sourceforge.net"> <br>
        On 5/15/24 12:41 PM, Brendan Coupe via KMyMoney-devel wrote: <br>
        <blockquote type="cite">It stopped soon after that message: <br>
          <br>
          Build type: RelWithDebInfo <br>
          -- The following REQUIRED packages have not been found: <br>
          <br>
          -- The following OPTIONAL packages have not been found: <br>
           * libofx (required version >= 7.0.0) <br>
          <br>
          -- The following features have been enabled: <br>
           * Encryption, Allows to store your financial data using
          strong GPG encryption. <br>
           * Doxygen, Generate API documentation with Doxygen (for devs
          only). <br>
           * Address book, Allows fetching payee information from KDE
          PIM system. <br>
           * Holidays, Allows fetching holidays from KDE PIM system. <br>
           * Forecast view, Adds possibility to calculate forecasts. <br>
           * Reports view, Adds possibility to display chart and table
          reports. <br>
           * Budget view, Adds possibility to plan a budget. <br>
           * Online job outbox view, Adds outbox for sending online
          jobs. <br>
           * SQL Storage, Allows storing your financial data in SQL
          database. <br>
           * LibOFX, Enables OFX import, export, and Direct Connect
          using LibOFX library. <br>
           * SQLCipher, Allows encrypting your SQLite3 database. <br>
           * KBanking, Interface for the following online banking
          protocols: HBCI, EBICS, OFX Direct Connect, Paypal <br>
           * Woob, Online banking interface using Woob. <br>
           * iCalendar, iCalendar integration. <br>
          <br>
          -- The following features have been disabled: <br>
           * SQL Tracer, It traces the SQL queries to the console. <br>
           * IBAN/BIC data, Adds predefined IBAN/BIC numbers to KMyMoney
          (note: doesn't work yet). <br>
           * Cost center support, Adds support for cost centers (for
          devs only). <br>
           * Warnings as errors, Enforces all warnings to be reported as
          errors. <br>
           * Model test, Generate modeltest code (for devs only). <br>
           * QtDesigner, Qt-Designer library support (for devs only). <br>
          <br>
          -- Configuring incomplete, errors occurred! <br>
          make: *** No targets specified and no makefile found.  Stop. <br>
          <br>
          <br>
          ** <br>
          *Brendan Coupe* <br>
          *3@Coupe7.com* <br>
          <br>
          <br>
          On 5/15/24 10:25, Jack via KMyMoney-devel wrote: <br>
          <blockquote type="cite">On 5/15/24 12:18 PM, Brendan Coupe via
            KMyMoney-devel wrote: <br>
            <blockquote type="cite"> <br>
              I have been compiling KMM for almost 20 years. I decided
              to try the master branch. <br>
              <br>
              I'm running Fedora 39. I compiled and installed libalkimia
              first. <br>
              <br>
              When I try to compile the master branch I get the
              following error: <br>
              <br>
              -- The following OPTIONAL packages have not been found: <br>
               * libofx (required version >= 7.0.0) <br>
              <br>
              I have version 0.10.9-3.fc39, which appears to be the
              latest version on the libofx git page. <br>
              <br>
              What am I missing? <br>
              <br>
            </blockquote>
            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. <br>
            <br>
            Jack <br>
            <br>
          </blockquote>
        </blockquote>
      </blockquote>
      <div class="moz-signature">-- <br>
        <br>
        <font color="#000000"><font face="Courier New"><font size="4"><b>Brendan
                Coupe</b></font></font></font> <br>
        <font color="#000000"><font face="Courier New"><font size="2"><b><a
                  class="moz-txt-link-abbreviated moz-txt-link-freetext"
                  href="mailto:3@Coupe7.com" moz-do-not-send="true">3@Coupe7.com</a></b></font></font></font>
        <br>
        <br>
        <br>
      </div>
    </blockquote>
  </body>
</html>