Op vrijdag 17 december 2021 00:15:09 CET schreef John Griessen:
> 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/gnuc
> ash/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/gnu
> cash/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/gnu
> cash/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.xm
> l
> /mosource/gnucash-4.8/gnucash/import-export/ofx/gschemas/migratable-prefs.x
> ml /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@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.xm
> l
> /mosource/gnucash-4.8/gnucash/import-export/ofx/gschemas/migratable-prefs.x
> ml /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?

The build fails because it is using a cmake feature that was introduced in 
cmake 3.18 and you 
are using cmake 3.16. As gnucash claims to be buildable with cmake as old as 
3.14, this is 
actually a bug in our build system, not cmake nor your system.

I have pushed a fix that will be included in upcoming gnucash 4.9. Meanwhile 
you can apply 
the fix manually in your source code if you want to continue your experiment. 
Below is the 
applied patch:

*diff --git a/gnucash/gschemas/CMakeLists.txt 
b/gnucash/gschemas/CMakeLists.txt* 
*index 30609736b8..2fd46cba01 100644* 
*--- a/gnucash/gschemas/CMakeLists.txt* 
*+++ b/gnucash/gschemas/CMakeLists.txt* 
@@ -30,7 +30,7 @@ set(gschema_preftrans_files ${local_preftrans_files} CACHE 
INTERNAL 
"files descr 
# following GSettings schema changes between gnucash releases 
add_custom_command( 
    OUTPUT ${DATADIR_BUILD}/${PROJECT_NAME}/pref_transformations.xml -    
COMMAND 
cat ${gschema_preftrans_files} > ${DATADIR_BUILD}/${PROJECT_NAME}/
pref_transformations.xml 
+    COMMAND env cat ${gschema_preftrans_files} > 
${DATADIR_BUILD}/${PROJECT_NAME}/
pref_transformations.xml 
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to