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

david whiting dw at davidwhiting.me.uk
Wed Jan 11 03:43:24 EST 2023


You might want to try the build script on this page
https://wiki.gnucash.org/wiki/Building_On_Ubuntu

I recently added a build script for ubuntu 22.10

This will pull in whatever is needed.

David

On Wed, 11 Jan 2023, 03:54 Michoel via gnucash-user, <
gnucash-user at gnucash.org> wrote:

> 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/unittest-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/gnucash:
> 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/deprecated:/home/papa/gnucash-build/share/guile/site/3.0
> GUILE_LOAD_COMPILED_PATH=/home/papa/gnucash-build/common/test-core:/home/papa/gnucash-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache:/home/papa/gnucash-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/gnucash:
> /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/unittest-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 <http://gno.
> ..nc-gnome.dir/Debug/gnc-budget-view.c.o>
> ninja: build stopped: subcommand failed.
>
> Thank you for any help you can provide.
>
> --
>  Sent with Tutanota, enjoy secure & ad-free emails.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>


More information about the gnucash-user mailing list