[GNC-dev] I need help building GnuCash on master

Geert Janssens geert.gnucash at kobaltwit.be
Sat May 30 16:16:56 EDT 2020


Op zaterdag 30 mei 2020 13:45:08 CEST schreef Christian Gruber:
> Am 29.05.20 um 01:49 schrieb Frank H. Ellenberger:
> > Christian,
> > 
> > did you clean ~/.cache/guile ? That is the place, where the precompiled
> > .go bytecode from the .scm files is stored.
> 
> Thanks for this advise, I haven't tried this yet. Unfortunately it
> didn't help.
> 
> > Frank
> > 
> > Am 28.05.20 um 17:42 schrieb Christian Gruber:
> >> Am 28.05.20 um 12:24 schrieb Frank H. Ellenberger:
> >>> Hi,
> >>> 
> >>> Am 28.05.20 um 08:13 schrieb Christian Gruber:
> >>>> I have to search for left *.go files, right? There are a lot in
> >>>> /usr/lib/x86_64-linux-gnu/guile/2.2/ccache. Can I remove the complete
> >>>> directory without hesitation?
> >>> 
> >>> The easier way is to uninstall guile-modules-2_2 to get rid of them. ;-)
> >>> They are part of that package.
> >> 
> >> Ok, I checked that with inverse file search ("apt-file search"). On my
> >> Ubuntu system these files belong to package guile-2.2-libs. And the
> >> *.scm files in /usr/share/guile/2.2 belong to that package as well. But
> >> after uninstalling guile-2.2-libs CMake complains, when building GnuCash:
> >> 
> >> CMake Error at CMakeLists.txt:311 (message):
> >>    Neither guile 2.2 nor guile 2.0 were found GnuCash can't run without
> >> 
> >> one of
> >> 
> >>    them.  Ensure that one is installed and can be found with pkg-config.
> >> 
> >> Therefore I installed guile-2.2-libs again. And the build error is the
> >> same again as at the beginning:
> >> 
> >> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
> >> no code for module (gnucash core-utils)
> >> 
> >> Is this maybe a problem of a missing CMake dependency?
> >> 
> >> Another idea, I updated my Ubuntu system from 19.10 Eoan Ermine to 20.04
> >> Focal Fossa a few days ago. Could this be a reason?
> 
> Can anybody please try to reproduce the build process on Linux from the
> current master branch in a completely clean build directory and with a
> clean guile cache (~/.cache/guile)?
> 
> I did the following:
> 
> cd ~/gnucash/build
> rm rf *
> cmake -DCMAKE_BUILD_TYPE=Debug ~/gnucash/src
> make all
> 
> Can anybody tell me more precisely, what this error message actually
> means? Does "no code for module (gnucash core-utils)" mean, that
> something is not built yet? If yes, what is not built? Target
> "gnc-core-utils" is already built.

It can mean something isn't built yet, but more often than not it means guile finds an 
older version of any of the libgnc*.so files somewhere on your LD_LIBRARY_PATH.

Do you have a version of gnucash installed on the same system you are building ?

Geert


More information about the gnucash-devel mailing list