[GNC-dev] Trouble with gsettings in GC 4.9

bugzilla bugzilla at orcon.net.nz
Fri Jan 7 08:56:57 EST 2022


Hi Derek,
thanks for your prompt reply. I am not sure if version 3.8 had been 
uninstalled before the *BUILT* process. So I did the following:
cd gnucash/build
sudo make uninstall
make clean
rm ~/.cache/dconf/user
mv /opt/gnucash/share/glib-2.0/schemas/gschemas.compiled 
/opt/gnucash/share/glib-2.0/schemas/gschemas.compiled.bkp
(there were no other files inside the 'schemas' folder)

Now I also get error messages that point to /.cache/guile/

/opt/gnucash/bin/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 
/opt/gnucash/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: source file 
/opt/gnucash/share/guile/site/2.2/gnucash/utilities.scm
;;;       newer than compiled 
/home/banking/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/guile/site/2.2/gnucash/utilities.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /opt/gnucash/share/guile/site/2.2/gnucash/utilities.scm
;;; WARNING: loading compiled file 
/opt/gnucash/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"
;;; WARNING: loading compiled file 
/opt/gnucash/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"
;;; note: source file /opt/gnucash/share/guile/site/2.2/gnucash/engine.scm
;;;       newer than compiled 
/home/banking/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/guile/site/2.2/gnucash/engine.scm.go
;;; compiling /opt/gnucash/share/guile/site/2.2/gnucash/engine.scm

...

;;; WARNING: loading compiled file 
/opt/gnucash/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/reports/standard/payables.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: source file 
/opt/gnucash/share/guile/site/2.2/gnucash/reports/standard/payables.scm
;;;       newer than compiled 
/home/banking/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/guile/site/2.2/gnucash/reports/standard/payables.scm.go
;;; compiling 
/opt/gnucash/share/guile/site/2.2/gnucash/reports/standard/payables.scm

...

I am a bit at a loss here.

And after the deleting the /.cache/guile/ folder and doing everything 
all over again - also:
;;; compiling 
/opt/gnucash/share/guile/site/2.2/gnucash/qif-import/qif-guess-map.scm
;;; gnucash/qif-import/qif-guess-map.scm:233:20: warning: possibly 
unbound variable `<qif-map-entry>'
;;; gnucash/qif-import/qif-guess-map.scm:237:28: warning: possibly 
unbound variable `qif-map-entry:gnc-name'

Regards,
Dirk


On 03.01.22 15:27, Derek Atkins wrote:
> Hi,
>
> On Mon, January 3, 2022 3:55 am, bugzilla wrote:
>> Hi everyone,
>>
>> first of all  a happy new year to you all.
>>
>> I tried to compile GC 4.9 on Linux Mint 20 ulyana following the
>> recommendations below. The build and installation process worked fine.
> [snip]
>
>> I also did not have a previous 4.x version installed. Only the default
>> 3.8 version that was released with the 'ulyana' Mint version. This
>> version was uninstalled before installing 4.9.
> Ah, but was it uninstalled before you *BUILT* 4.9?
>
>> Any advice on this subject would be greatly appreciated.
>>
>> Thanks,
>> Dirk
> -derek
>



More information about the gnucash-devel mailing list