[GNC] compiling 3.3

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC] compiling 3.3

John Griessen-3
I'm using hints such as

Do
   sudo rm -rf /usr/local/lib/gnucash
   sudo rm -f /usr/local/lib/libgnc*
clean your build directory and try again.

I get a completion of make ending like this:

Scanning dependencies of target scm-test-load-report-gnome-module
Scanning dependencies of target scm-test-load-report-stylesheets-module
[100%] Generating ../../../../lib/gnucash/scm/ccache/2.0/gnucash/reports/test-load-report-gnome-module.go
[100%] Generating ../../../../lib/gnucash/scm/ccache/2.0/gnucash/report/test-load-report-stylesheets-module.go
wrote `/mosource/build-gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/reports/test-load-report-gnome-module.go'
[100%] Built target scm-test-load-report-gnome-module
wrote `/mosource/build-gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/test-load-report-stylesheets-module.go'
[100%] Built target scm-test-load-report-stylesheets-module


sudo make install

ends like:

-- Installing: /usr/local/share/glib-2.0/schemas/org.gnucash.window.pages.account.tree.gschema.xml
-- Installing: /usr/local/share/glib-2.0/schemas/org.gnucash.window.pages.gschema.xml
Compiling gschema files in /usr/local/share/glib-2.0/schemas


Part way through install there is a suspicious message:

-- Set runtime path of "/usr/local/lib/libgwengui-gtk3.so" to "/usr/local/lib:/usr/local/lib/gnucash"

All lines like that have a list of two with colon between.
Should this just be /usr/local/lib/gnucash?  (After running make install, there are libgncmod* files in
/usr/local/lib   and /usr/local/lib/gnucash


Do I need more detail in my cmake command?

Here's how I build in a build dir:
The code is in /mosource/gnucash with the repository set to tag maint
git log shows:
commit 7706fff3c94143f93030db167c5b51f146a09999 (HEAD -> maint, origin/master, master)
Author: John Ralls <[hidden email]>
Date:   Sat Sep 29 16:49:35 2018 -0700

cd /mosource

if not done yet,
mkdir /mosource/build-gnucash-3.3
cd /mosource/build-gnucash-3.3
cmake -DCMAKE_INSTALL_PREFIX=/usr/local  ../gnucash

make
make install


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] compiling 3.3

John Griessen-3
I used this cmake line

cmake -D CMAKE_INSTALL_PREFIX=/home/john/.local/gnucash-3.3 /mosource/gnucash
make
sudo make install

and get a complete compile, but many many error messages during first run of
/home/john/.local/gnucash-3.3/bin/gnucash
.

The errors are all similar to this one:


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/cash-flow.scm


Is this normal?



_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] compiling 3.3

John Ralls


> On Nov 18, 2018, at 4:12 AM, John Griessen <[hidden email]> wrote:
>
> I used this cmake line
>
> cmake -D CMAKE_INSTALL_PREFIX=/home/john/.local/gnucash-3.3 /mosource/gnucash
> make
> sudo make install
>
> and get a complete compile, but many many error messages during first run of
> /home/john/.local/gnucash-3.3/bin/gnucash
> .
>
> The errors are all similar to this one:
>
>
> 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/cash-flow.scm
>
>
> Is this normal?
>

No, but it’s also not enough of the error block to show what object file has a bad header.

Your earlier message showed things being installed in /usr/local and that shouldn’t happen when you’ve set CMAKE_INSTALL_PREFIX to ~/.local/gnucash-3.3.

As for the question in the earlier mail about the gwenhywfar run path, it’s correct: It’s a search path, a colon-separated list of file paths used to find files. The most familiar example is $PATH that the shell uses to find executable files.

Regards,
John Ralls

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] compiling 3.3

John Griessen-3
On 11/17/18 5:50 PM, John Ralls wrote:
> not enough of the error block to show what object file has a bad header.

This is an excerpt of the message stream for every startup of:

/home/john/.local/gnucash-3.3/bin/gnucash

;;; WARNING: loading compiled file
/home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/balance-sheet.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/balance-sheet.scm
;;; compiled
/home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/balance-sheet.scm.go
;;; WARNING: loading compiled file
/home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/equity-statement.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/equity-statement.scm
;;; gnucash/report/standard-reports/equity-statement.scm:278:9: warning: non-literal format string
;;; gnucash/report/standard-reports/equity-statement.scm:345:31: warning: non-literal format string
;;; compiled
/home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/equity-statement.scm.go
;;; WARNING: loading compiled file
/home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/price-scatter.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/price-scatter.scm
;;; compiled
/home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/price-scatter.scm.go
;;; WARNING: loading compiled file
/home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/budget-barchart.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/budget-barchart.scm
;;; compiled
/home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/budget-barchart.scm.go
;;; WARNING: loading compiled file
/home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/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/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.scm.go


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] compiling 3.3

Christopher Lam
These .go files are precompiled .scm files (and they're in a .cache
directory) and usually rebuilt on demand. Try deleting/renaming the whole
.cache folder and retry.

On Sun., 18 Nov. 2018, 09:21 John Griessen <[hidden email] wrote:

> On 11/17/18 5:50 PM, John Ralls wrote:
> > not enough of the error block to show what object file has a bad header.
>
> This is an excerpt of the message stream for every startup of:
>
> /home/john/.local/gnucash-3.3/bin/gnucash
>
> ;;; WARNING: loading compiled file
> /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/balance-sheet.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/balance-sheet.scm
> ;;; compiled
>
> /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/balance-sheet.scm.go
> ;;; WARNING: loading compiled file
> /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/equity-statement.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/equity-statement.scm
> ;;; gnucash/report/standard-reports/equity-statement.scm:278:9: warning:
> non-literal format string
> ;;; gnucash/report/standard-reports/equity-statement.scm:345:31: warning:
> non-literal format string
> ;;; compiled
>
> /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/equity-statement.scm.go
> ;;; WARNING: loading compiled file
> /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/price-scatter.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/price-scatter.scm
> ;;; compiled
>
> /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/price-scatter.scm.go
> ;;; WARNING: loading compiled file
> /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/budget-barchart.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/budget-barchart.scm
> ;;; compiled
>
> /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/budget-barchart.scm.go
> ;;; WARNING: loading compiled file
> /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/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/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.scm.go
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] compiling 3.3

John Ralls
In reply to this post by John Ralls


> On Nov 18, 2018, at 9:23 AM, John Griessen <[hidden email]> wrote:
>
> On 11/17/18 5:50 PM, John Ralls wrote:
>> Your earlier message showed things being installed in /usr/local and that shouldn’t happen when you’ve set CMAKE_INSTALL_PREFIX to ~/.local/gnucash-3.3.
>
> I did not get a complete compile with /usr/local so I tried compile to install in
> /home/john/.local/gnucash-3.3
> after deleting all libgnc* files /usr/local/lib and /usr/local/gnucash
>

Please remember to copy the list on all replies.

Then you want to delete all of /usr/local/lib/gnucash and /usr/local/share/gnucash. That said, your earlier message did show a complete compile and anyway installation prefix has no effect on compilation.

Regards,
John Ralls

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] compiling 3.3

John Ralls
In reply to this post by John Griessen-3


> On Nov 18, 2018, at 9:20 AM, John Griessen <[hidden email]> wrote:
>
> On 11/17/18 5:50 PM, John Ralls wrote:
>> not enough of the error block to show what object file has a bad header.
>
> This is an excerpt of the message stream for every startup of:
>
> /home/john/.local/gnucash-3.3/bin/gnucash
>
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/balance-sheet.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/balance-sheet.scm
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/balance-sheet.scm.go
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/equity-statement.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/equity-statement.scm
> ;;; gnucash/report/standard-reports/equity-statement.scm:278:9: warning: non-literal format string
> ;;; gnucash/report/standard-reports/equity-statement.scm:345:31: warning: non-literal format string
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/equity-statement.scm.go
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/price-scatter.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/price-scatter.scm
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/price-scatter.scm.go
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/budget-barchart.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/budget-barchart.scm
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/budget-barchart.scm.go
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/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/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.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? How did you set up the build environment? Do you have more than one version of Guile installed?

Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] compiling 3.3

John Griessen-3
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/report/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/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.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


 > Then you want to delete all of /usr/local/lib/gnucash and /usr/local/share/gnucash.
Did that.  /usr/local/share/gnucash was there, now deleted.

After another configure and compile the run time errors go away and all is well.
Thanks for the hints on cleaning out the old that conflicts with the new.

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] compiling 3.3

Geert Janssens-4
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


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.