[GNC] building gnucash on ubuntu 20.04

davidcousens49 at gmail.com davidcousens49 at gmail.com
Thu Dec 16 22:40:25 EST 2021


John,

What exactly were the commands you ran to build GnuCash and the directories they
were run from. The other useful information is the location of the directories
containing the source code and where the build directory is located realtive to
the source code directories. If ninja does not build correctly then there is no
point in running the install. 

The instructions on the wiki page (
https://wiki.gnucash.org/wiki/Building_On_Linux#Build_using_CMake_and_Ninja)
assume the build directory is at the same level as the extracted source
directory, i.e. they share a common parent directory. The most common problem is
the relative addressing of the source directory from the build directory. If you
have placed the build directory under the gnucash-4.8 directory for example the
cmake command will become:
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr/local ..

David Cousens

On Thu, 2021-12-16 at 16:15 -0700, John Griessen wrote:
> I've been using flatpak 4.8-1 on ubuntu, but it has some glitches in the GUI
> selection of check boxes on an invoice such as 
> taxable, tax included, tax table.  To get those to be changed takes mousing
> and clicking several places in the line item or it 
> just reverts when I go to the next line.
> 
> 
> So, I followed the 4.8 build instructions, first getting build deps, and using
> ninja.
> Here is where it stopped:
> 
> 
> rote 
> `/mosource/gnucash-4.8-build/lib/x86_64-linux-gnu/guile/2.2/site-
> ccache/gnucash/deprecated/gnucash/report/report-system/report-collectors.go'
> [273/954] Generating ../../lib/x86_64-linux-gnu/guile/2.2/site-
> ccache/gnucash/deprecated/gnucash/report/utility-reports.go
> wrote `/mosource/gnucash-4.8-build/lib/x86_64-linux-gnu/guile/2.2/site-
> ccache/gnucash/deprecated/gnucash/report/utility-reports.go'
> [310/954] Generating ../../lib/x86_64-linux-gnu/guile/2.2/site-
> ccache/gnucash/deprecated/gnucash/report/business-reports.go
> wrote `/mosource/gnucash-4.8-build/lib/x86_64-linux-gnu/guile/2.2/site-
> ccache/gnucash/deprecated/gnucash/report/business-reports.go'
> [361/954] Generating ../../share/gnucash/migratable-prefs.xml
> FAILED: share/gnucash/migratable-prefs.xml
> cd /mosource/gnucash-4.8-build/gnucash/gschemas && /usr/bin/cmake -E cat 
> /mosource/gnucash-4.8/gnucash/import-export/aqb/gschemas/migratable-prefs.xml 
> /mosource/gnucash-4.8/gnucash/import-export/ofx/gschemas/migratable-prefs.xml 
> /mosource/gnucash-4.8/gnucash/gschemas/migratable-prefs.xml >
> /mosource/gnucash-4.8-build/share/gnucash/migratable-prefs.xml
> CMake Error: cmake version 3.16.3
> Usage: /usr/bin/cmake -E <command> [arguments...]
> 
> I tried install anyway:
> 
>   john at thinktool [gnucash-4.8-build]sudo ninja install
> [4/586] Generating ../../share/gnucash/migratable-prefs.xml
> FAILED: share/gnucash/migratable-prefs.xml
> cd /mosource/gnucash-4.8-build/gnucash/gschemas && /usr/bin/cmake -E cat 
> /mosource/gnucash-4.8/gnucash/import-export/aqb/gschemas/migratable-prefs.xml 
> /mosource/gnucash-4.8/gnucash/import-export/ofx/gschemas/migratable-prefs.xml 
> /mosource/gnucash-4.8/gnucash/gschemas/migratable-prefs.xml >
> /mosource/gnucash-4.8-build/share/gnucash/migratable-prefs.xml
> CMake Error: cmake version 3.16.3
> Usage: /usr/bin/cmake -E <command> [arguments...]
> 
> 
> What to do next?



More information about the gnucash-user mailing list