[GNC] compiling 3.3

Geert Janssens geert.gnucash at kobaltwit.be
Tue Nov 20 03:53:36 EST 2018


Op maandag 19 november 2018 00:11:10 CET schreef John Griessen:
> On 11/17/18 7:24 PM, John Ralls wrote:
> >> ;;; WARNING: loading compiled
> >> file/home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/rep
> >> ort/standard-reports/account-piecharts.go failed: ;;; ERROR: In procedure
> >> make_objcode_from_file: bad header on object file:
> >> "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00" ;;;
> >> compiling/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/
> >> standard-reports/account-piecharts.scm ;;;
> >> compiled/home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnu
> >> cash-3.3/share/gnucash/scm/gnucash/report/standard-reports/account-piecha
> >> rts.scm.go> 
> > That’s telling you that the compiled guile files from your build are
> > defective for some reason and that guile is rebuilding them in the
> > location listed. While that’s a bunch of noise it’s not what’s crashing
> > GnuCash. It does suggest that there’s something wrong with Guile on your
> > machine and it’s possible that the rebuilt .go files are also invalid.
> > 
> > What OS/Distro and version are you running? debian buster
> > 
>  > How did you set up the build environment?
> 
> No env vars used (that I know).  launch build by commands:
> cmake -DCMAKE_INSTALL_PREFIX=/home/john/.local/gnucash-3.3 /mosource/gnucash
> make
> sudo make install
> 
>  > Do you have more than one version of Guile installed
> 
> 2.2 was removed when I used a prerequisites script to get dependencies for
> debian. I have 2.0 installed.  I just found that 2.2 was still there, only
> guile-2.2-dev was removed, so I did sudo apt purge guile-2.2 and
> libguile-2.2
> and removed all 2.2 from
> /usr/lib/x86_64-linux-gnu
> 
Note that gnucash can be built against libguile-2.2 or libguile-2.0. And I 
have both installed on my system.

So the issue was most likely the leftover directory
/usr/local/share/gnucash still being present.

Glad you got it sorted.

Regards,

Geert




More information about the gnucash-user mailing list