[GNC] compiling 3.3
John Ralls
jralls at ceridwen.fremont.ca.us
Sat Nov 17 18:50:04 EST 2018
> On Nov 18, 2018, at 4:12 AM, John Griessen <john at industromatic.com> 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
More information about the gnucash-user
mailing list