GnuCash and guile

Ryan Schmidt ryandesign at macports.org
Mon Dec 10 18:57:48 PST 2007


On Dec 10, 2007, at 20:45, Todd O'Bryan wrote:

> I was trying to install GnuCash and it said I didn't have guile. So I
> installed guile manually

Define manually. Did you "sudo port install guile"? Or did you  
manually download the guile source code and compile it and install it  
somewhere? (where?)

> and now it apparently thinks the guile that
> got installed isn't good enough.
>
> Any hints about where to go from here? I tried installing slib, but it
> says it's already installed.
>
> Thanks,
> Todd
>
> doug-spauldings-imac:~ dougspaulding$ sudo port -vf install gnucash
> --->  Configuring gnucash
> checking for a BSD-compatible install... /usr/bin/install -c
> ...
> checking for guile-config... yes
> checking whether guile-config works... yes
> checking for sin in -lm... yes
> checking for guile libraries... -D_THREAD_SAFE  -lguile -lltdl
> -L/opt/local/lib -L/opt/local/lib -lgmp -lm -lltdl
> checking for guile headers... -I/opt/local/include -D_THREAD_SAFE
> checking whether guile works... yes
> checking for guile... /opt/local/bin/guile
> checking for guile - 1.6.0 <= version < 99.99.99... yes: 1.8.3
> checking for guile - 1.8.0 <= version < 99.99.99... yes: 1.8.3
> checking for SLIB support... configure: error:
>
>    Cannot find SLIB.  Are you sure you have it installed?
>    See http://bugzilla.gnome.org/show_bug.cgi?id=347922

[snip]

So you have guile 1.8.3. According to the long description of the  
gnucash port, "Variant +guile16 is enabled by default because newer  
guile versions do not yet work correctly with MacPorts." So gnucash  
apparently currently only works with guile 1.6.x not guile 1.8.x.

So, you should uninstall guile 1.8.3. Then you should sudo port  
install gnucash, which should install guile16, slib and slib-guile16  
for you.

Before you begin, make sure you have the latest ports by using "sudo  
port selfupdate"



More information about the macports-users mailing list