[GNC-dev] Building GnuCash 4.0 on Linux MInt20

David Cousens davidcousens at bigpond.com
Fri Jul 10 21:28:26 EDT 2020


Thnaks Christopher,I'll down grade it and see how it goes. I started off initially with the default libraries loaded in
LM20 using apt. I noticed a few of the default libraries are well  in advanece of the current gnucash requirements. e.g.
 libboost 1.71.David
On Sat, 2020-07-11 at 01:04 +0000, Christopher Lam wrote:
> You have guile-3.0 which has backward incompatible changes, and not yet supported. Try guile-2.2.
> 
> On Sat, 11 Jul 2020 at 00:20, David Cousens <davidcousens at bigpond.com> wrote:
> > Having a problem building on a new install of Linux Mint Ulyana (20).
> > 
> > 
> > 
> > Can anyone make sense of the following? It appears to be a problem with gettext. I have 0.19.8.1-10build1 installed
> > but
> > 
> > noted in the cmake initial output when I was installing the dependencies that 2.0 was preferred but only required
> > for
> > 
> > building a translation file. I assumed this to mean 0.19.8 would be OK for the app. 
> > 
> > 
> > 
> > Cmake output:
> > 
> > $ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=ON ..
> > 
> > CMake Warning at CMakeLists.txt:251 (message):
> > 
> >   Gettext version 0.20 or more recent is required to translate the
> > 
> >   'developer_name' tag in gnucash.appdata.xml.  All but that tag will be
> > 
> >   translated in the generated file.
> > 
> > 
> > 
> > 
> > 
> > -- Using guile-2.0.x
> > 
> > -- Using guile SRFI-64
> > 
> > -- Using guile textual-ports
> > 
> > -- Checking for GTEST
> > 
> > -- Checking for GMOCK
> > 
> > -- Configuring done
> > 
> > -- Generating done
> > 
> > -- Build files have been written to: /home/david/Applications/gnucash-4.0/build
> > 
> > 
> > 
> > ninja output:
> > 
> > $ ninja
> > 
> > [6/243] Generating ../../lib/x86_64-li...cache/gnucash/app-utils/c-interface.go
> > 
> > FAILED: lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/app-utils/c-interface.go 
> > 
> > cd /home/david/Applications/gnucash-4.0/build/libgnucash/app-utils && /usr/bin/cmake -E env
> > 
> > LD_LIBRARY_PATH=/home/david/Applications/gnucash-4.0/build/lib:/home/david/Applications/gnucash-
> > 4.0/build/lib/gnucash:
> > 
> > GNC_UNINSTALLED=YES GNC_BUILDDIR=/home/david/Applications/gnucash-4.0/build
> > 
> > GUILE_LOAD_PATH=/home/david/Applications/gnucash-4.0/libgnucash/app-utils:/home/david/Applications/gnucash-
> > 
> > 4.0/build/libgnucash/app-utils:/home/david/Applications/gnucash-4.0/build/libgnucash/app-
> > 
> > utils/deprecated:/home/david/Applications/gnucash-4.0/build/share/guile/site/3.0
> > 
> > GUILE_LOAD_COMPILED_PATH=/home/david/Applications/gnucash-4.0/build/libgnucash/app-
> > 
> > utils:/home/david/Applications/gnucash-4.0/build/lib/x86_64-linux-gnu/guile/3.0/site-
> > 
> > ccache:/home/david/Applications/gnucash-4.0/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated
> > 
> > GNC_MODULE_PATH=/home/david/Applications/gnucash-4.0/build/lib:/home/david/Applications/gnucash-
> > 4.0/build/lib/gnucash:
> > 
> > /usr/bin/guile -e "(@@ (guild) main)" -s /usr/bin/guild compile -o /home/david/Applications/gnucash-
> > 
> > 4.0/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/app-utils/c-interface.go
> > /home/david/Applications/gnucash-
> > 
> > 4.0/libgnucash/app-utils/c-interface.scm
> > 
> > ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> > 
> > Syntax error:
> > 
> > c-interface.scm:83:21: _: bad use of '_' syntactic keyword in subform (_ (hash-ref string-hash key)) of (_ (hash-ref
> > 
> > string-hash key))
> > 
> > [7/243] Generating ../../lib/x86_64-li...ucash/deprecated/migrate-prefs-user.go
> > 
> > wrote `/home/david/Applications/gnucash-4.0/build/lib/x86_64-linux-gnu/guile/3.0/site-
> > ccache/gnucash/deprecated/migrate-
> > 
> > prefs-user.go'
> > 
> > [8/243] Generating ../../lib/x86_64-li...he/gnucash/deprecated/migrate-prefs.go
> > 
> > wrote `/home/david/Applications/gnucash-4.0/build/lib/x86_64-linux-gnu/guile/3.0/site-
> > ccache/gnucash/deprecated/migrate-
> > 
> > prefs.go'
> > 
> > [12/243] Generating ../../lib/x86_64-l...deprecated/gnucash/unittest-support.go
> > 
> > wrote `/home/david/Applications/gnucash-4.0/build/lib/x86_64-linux-gnu/guile/3.0/site-
> > 
> > ccache/gnucash/deprecated/gnucash/unittest-support.go'
> > 
> > [13/243] Generating ../../lib/x86_64-l.../gnucash/deprecated/gnucash/gettext.go
> > 
> > wrote `/home/david/Applications/gnucash-4.0/build/lib/x86_64-linux-gnu/guile/3.0/site-
> > 
> > ccache/gnucash/deprecated/gnucash/gettext.go'
> > 
> > ninja: build stopped: subcommand failed.
> > 
> > 
> > 
> > cmake error log attached
> > 
> > _______________________________________________
> > 
> > gnucash-devel mailing list
> > 
> > gnucash-devel at gnucash.org
> > 
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > 
-- 
Dr David R Cousens
B.Sc, M.Prof. Acc., Ph.D., G.C.Ed


More information about the gnucash-devel mailing list