[GNC-dev] Build error

ml enquirer ml.hnel.227484 at gmail.com
Thu Jan 5 16:18:58 EST 2023


Hi,

Thanks for all your hard work on gnucash; it's fantastic.

To try and debug some budget reporting issues I'm having (
https://lists.gnucash.org/pipermail/gnucash-user/2023-January/104734.html),
I'm trying to build for the first time. I *think* I installed all the
dependencies, but I'm running up against the following build error.

Is it obvious to you what I must be doing wrong? Could it be related to the
fact that I'm trying to build on a system that already has gnucash
installed? I see notes during compilation like:
;;; note: source file <my home
dir>/gnucash/gnucash-build/share/guile/site/3.0/gnucash/reports/standard/trial-balance.scm
;;;       newer than compiled
/usr/lib/guile/3.0/site-ccache/gnucash/reports/standard/trial-balance.go

Many thanks,
D

```
Backtrace:
In /usr/bin/guild:
    72:17 19 (main _)
In srfi/srfi-1.scm:
    634:9 18 (for-each #<procedure 7fbff6aaf7d0 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 _ #:output-file _ #:from _ #:to _ #:env _ …)
     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 7fbfee028150>)
   331:39 10 (read-and-compile #<input: report-menus.scm 13> #:from _ …)
   261:27  9 (_ _ _)
In ice-9/boot-9.scm:
   2836:4  8 (save-module-excursion #<procedure 7fbfd7d21a20 at lang…>)
In language/scheme/compile-tree-il.scm:
    31:16  7 (_)
In ice-9/psyntax.scm:
  1218:36  6 (expand-top-sequence (#<syntax:report-menus.scm:35:0 …>) …)
  1210:19  5 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   259:10  4 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
In unknown file:
           3 (load-extension "libgnc-gnome" "scm_init_sw_gnome_module")
In system/foreign-library.scm:
   190:25  2 (load-foreign-library _ #:extensions _ # _ #:search-path …)
In unknown file:
           1 (dlopen "/usr/lib/libgnc-gnome.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 "/usr/lib/libgnc-gnome.so", message
"/usr/lib/libgnc-gnome.so: undefined symbol: gnc_get_euro"
```


More information about the gnucash-devel mailing list