Problems with Gnucash development environment on Ubuntu 10.04
Tao Wang
dancefire at gmail.com
Wed May 12 09:00:34 EDT 2010
Hi,
I got exactly same problem when building GnuCash from trunk in Ubuntu
10.04. I confirmed /usr/share/guile/1.6/slib is a softlink to
/usr/share/slib. But I cannot find slib for 1.8 in Ubuntu. And I think
the build script is using 1.6 instead of 1.8, because I got following
lines during running ./configure:
=================
checking for guile... /usr/bin/guile
checking for guile - 1.6.7 <= version < 99.99.99... yes: 1.6.8
checking for guile - 1.8.0 <= version < 99.99.99... no: 1.6.8
checking for SLIB support... yes
....
configure:15287: checking for guile - 1.6.7 <= version < 99.99.99
configure:15334: result: yes: 1.6.8
configure:15419: checking for guile - 1.8.0 <= version < 99.99.99
configure:15475: result: no: 1.6.8
configure:15491: checking for SLIB support
configure:15495: result: yes
....
#define HAVE_GUILE 1
#define GNC_GUILE_MAJOR_VERSION 1
#define GNC_GUILE_MINOR_VERSION 6
#define GNC_GUILE_MICRO_VERSION 8
....
=================
I attached full logs, including log for autogen, configure, make and
running GnuCash.
So, what should I do to make it be able to run under Ubuntu 10.04?
On Wed, May 12, 2010 at 7:44 PM, Geert Janssens
<janssens-geert at telenet.be> wrote:
> 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
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
--
Regards
Tao Wang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_run_log.tar.gz
Type: application/x-gzip
Size: 71751 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20100512/2b27ebaa/attachment-0001.gz>
More information about the gnucash-devel
mailing list