Problems with Gnucash development environment on Ubuntu 10.04

Geert Janssens janssens-geert at telenet.be
Wed May 12 05:44:44 EDT 2010


On Wednesday 12 May 2010, Valdis Vītoliņš wrote:
> Hm..
> Maybe there are version incompatibility, or wrong one is found and used?
> 
> root at studio:/home/valdis# which slib
> /usr/bin/slib
> 
> root at studio:/home/valdis# ls -la /usr/bin/slib
> -rwxr-xr-x 1 root root 5053 2010-04-07 15:58 /usr/bin/slib
> root at studio:/home/valdis#
> 
> root at studio:/home/valdis# find / -name "slib*"
> /var/lib/dpkg/info/slib.prerm
> /var/lib/dpkg/info/slib.list
> /var/lib/dpkg/info/slib.preinst
> /var/lib/dpkg/info/slib.postinst
> /var/cache/apt/archives/slib_3b1-3ubuntu1_all.deb
> /usr/bin/slib
> /usr/share/info/slib.info.gz
> /usr/share/lintian/overrides/slib
> /usr/share/doc-base/slib
> /usr/share/guile/1.6/slibcat
> /usr/share/guile/1.6/slib
> /usr/share/guile/1.6/ice-9/slib.scm
> /usr/share/guile/1.6/ice-9/slib-old.scm
> /usr/share/guile/1.8/ice-9/slib.scm
> /usr/share/doc/slib
> /usr/share/slib
> /usr/share/man/man1/slib.1.gz
> 
> Valdis
> 
Apparently you have multiple things called "slib" on your system. The one I 
meant is a library of scheme scripts that extend the functionality in guile.
So the relevant files are 
> /usr/share/guile/1.6/slibcat
> /usr/share/guile/1.6/slib
> /usr/share/guile/1.6/ice-9/slib.scm
> /usr/share/guile/1.6/ice-9/slib-old.scm
> /usr/share/guile/1.8/ice-9/slib.scm
> /usr/share/slib

I see you have both guile 1.6 and 1.8 on your system, but only guile 1.6 is 
configured to use slib (you can verify that /usr/share/guile/1.6/slib is a 
softlink to /usr/share/slib).

I guess that gnucash compiles with 1.8 if it is available. But since 1.8 is 
not configured with slib, it doesn't find hash-for-each at runtime.

Can you install slib for 1.8 as well on Ubuntu ? I mean, does it come in a 
separate package ?

Geert


More information about the gnucash-devel mailing list