[GNC] Trying to build 4.13 on Ubuntu 22.10 with Ninja

Geert Janssens geert.gnucash at kobaltwit.be
Wed Jan 11 07:15:25 EST 2023


There's a good chance this issue arises if you try to build gnucash on a system that already 
has an older version of gnucash installed via the system's package manager.

Regards,

Geert

Op woensdag 11 januari 2023 04:53:10 CET schreef Michoel via gnucash-user:
> Im trying to install  4.13 on Ubuntu 22.10 with Ninja, but I am running into
> this error which I have tried to find an answer to, but to no avail:
> 
> ninja
> [1/495] Generating
> ../../lib/x86_64-li.../site-ccache/tests/unittest-support.go FAILED:
> lib/x86_64-linux-gnu/guile/3.0/site-ccache/tests/unittest-support.go
> /home/papa/gnucash-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/tests/u
> nittest-support.go cd /home/papa/gnucash-build/common/test-core &&
> /usr/bin/cmake -E env
> LD_LIBRARY_PATH=/home/papa/gnucash-build/lib:/home/papa/gnucash-build/lib/g
> nucash: GNC_UNINSTALLED=YES GNC_BUILDDIR=/home/papa/gnucash-build
> GUILE_LOAD_PATH=/home/papa/Desktop/gnucash-4.13/common/test-core:/home/papa
> /gnucash-build/common/test-core:/home/papa/gnucash-build/common/test-core/de
> precated:/home/papa/gnucash-build/share/guile/site/3.0
> GUILE_LOAD_COMPILED_PATH=/home/papa/gnucash-build/common/test-core:/home/pa
> pa/gnucash-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache:/home/papa/gnuca
> sh-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated
> GNC_MODULE_PATH=/home/papa/gnucash-build/lib:/home/papa/gnucash-build/lib/g
> nucash: /usr/bin/guile -e "(@@ (guild) main)" -s /usr/bin/guild compile -o
> /home/papa/gnucash-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/tests/u
> nittest-support.go
> /home/papa/Desktop/gnucash-4.13/common/test-core/unittest-support.scm
> Backtrace:
> In /usr/bin/guild:
>     72:17 19 (main _)
> In srfi/srfi-1.scm:
>     634:9 18 (for-each #<procedure 7fb76e6a97d0 at scripts/compile.…> …)
> In scripts/compile.scm:
>    279:27 17 (_ _)
> In system/base/target.scm:
>      65:6 16 (with-target _ _)
> In system/base/compile.scm:
>     187:6 15 (compile-file "/home/papa/Desktop/gnucash-4.13/common/…" …)
>      53:4 14 (call-with-output-file/atomic _ _ _)
> In ice-9/boot-9.scm:
>   1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
> In system/base/compile.scm:
>     69:11 12 (_)
>    190:11 11 (_ #<closed: file 7fb76d083150>)
>    331:39 10 (read-and-compile #<input: unittest-support.scm 13> # _ …)
>    261:27  9 (_ _ _)
> In ice-9/boot-9.scm:
>    2836:4  8 (save-module-excursion #<procedure 7fb76e6e09e0 at lang…>)
> In language/scheme/compile-tree-il.scm:
>     31:16  7 (_)
> In ice-9/psyntax.scm:
>   1218:36  6 (expand-top-sequence (#<syntax:unittest-support.scm:2…>) …)
>   1210:19  5 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>    259:10  4 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
> In unknown file:
>            3 (load-extension "libtest-core-guile" "scm_init_unittest…")
> In system/foreign-library.scm:
>    190:25  2 (load-foreign-library _ #:extensions _ # _ #:search-path …)
> In unknown file:
>            1 (dlopen "libtest-core-guile.so" 1)
> In ice-9/boot-9.scm:
>   1685:16  0 (raise-exception _ #:continuable? _)
> 
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> In procedure dlopen: file "libtest-core-guile.so", message
> "libtest-core-guile.so: cannot open shared object file: No such file or
> directory" [10/495] Building C object
> gnucash/gno...nc-gnome.dir/Debug/gnc-budget-view.c.o


More information about the gnucash-user mailing list