[GNC] 4.12 ERROR: In procedure scm-error: no code for module (gnucash utilities)

osbert bugzilla at orcon.net.nz
Tue Oct 25 17:02:24 EDT 2022


Hi,

I have now also followed the advice given by John and Derek:
   cmake -DCMAKE_INSTALL_PREFIX=/opt/gnucash and
   sudo make install

Gnucash 4.12 is now running :)  Thanks for your feedback :)

However the terminal prints out these error messages:
# --- std-out ---------------------------------------------------
$ gnucash
This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel at gnucash.org
You can also lookup and file bug reports at https://bugs.gnucash.org
To find the last stable version, please refer to https://www.gnucash.org/
;;; WARNING: loading compiled file 
/usr/local/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/utilities.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"
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/local/share/guile/site/2.2/gnucash/utilities.scm
;;; WARNING: loading compiled file 
/usr/local/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/core-utils.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 /usr/local/share/guile/site/2.2/gnucash/core-utils.scm
;;; compiled 
/home/osbert/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/guile/site/2.2/gnucash/core-utils.scm.go
;;; WARNING: loading compiled file 
/usr/local/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/engine.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 /usr/local/share/guile/site/2.2/gnucash/engine.scm
;;; WARNING: loading compiled file 
/usr/local/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/engine/business-core.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 
/usr/local/share/guile/site/2.2/gnucash/engine/business-core.scm
;;; compiled 
/home/osbert/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/guile/site/2.2/gnucash/engine/business-core.scm.go
;;; WARNING: loading compiled file 
/usr/local/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/engine/gnc-numeric.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 /usr/local/share/guile/site/2.2/gnucash/engine/gnc-numeric.scm
...

Is that something that can be avoided/corrected - or just ignored (I did 
remove the guile folder inside the .cache directory)?

Thanks & regards,
Osbert


On 25.10.22 12:19, John Ralls wrote:
> Because
> >/-- Installing: /opt/bin/gnucash /
> You told CMake -DCMAKE_INSTALL_PREFIX=/opt. If you want GnuCash installed in /opt/gnucash then you have to tell cmake -DCMAKE_INSTALL_PREFIX=/opt/gnucash.
>
> Regards,
> John Ralls
>

On 25.10.22 14:02, Derek Atkins wrote:
> Hi,
>
> I do not see a "make install" in here.
>
> You cannot run GnuCash from the build tree, you need to install it to run it.
>
> -derek
>


More information about the gnucash-user mailing list