Can't find slib?
John Ralls
jralls at ceridwen.us
Sat Dec 11 12:16:51 EST 2010
On Dec 11, 2010, at 7:42 AM, Derek Atkins wrote:
> Donald,
>
> On Sat, December 11, 2010 10:23 am, Donald Allen wrote:
>> On a Slackware 13.1 (32-bit) system, I just checked out svn head, tried
>> ./configure --prefix=/opt/gnucash-devel, and got:
>>
>> 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
>> and http://bugzilla.gnome.org/show_bug.cgi?id=483631
>>
>> slib is installed:
>>
>> ls -l /var/adm/packages/slib*
>> -rw-r--r-- 1 root root 5425 2010-12-04 17:30
>> /var/adm/packages/slib-3b2-i486-2_SBo
>>
>> The second of the bugs mentioned in the error message contains a comment
>> from Derek about a symlink from /usr/share/guile:
>>
>> /usr/share/guile:
>> total used in directory 16 available 283823416
>> drwxr-xr-x 4 root root 4096 2010-12-04 17:30 .
>> drwxr-xr-x 199 root root 4096 2010-12-04 17:30 ..
>> drwxr-xr-x 7 root root 4096 2010-02-25 14:53 1.8
>> drwxr-xr-x 3 root root 4096 2010-04-14 19:52 site
>> lrwxrwxrwx 1 root root 14 2010-12-04 17:30 slib -> ../../lib/slib
>>
>> Furthermore,
>>
>> ls -l /usr/share/slib
>> lrwxrwxrwx 1 root root 11 2010-12-04 17:30 /usr/share/slib -> ../lib/slib
>>
>> Any ideas? Need more info? (Derek?)
>
> Are you sure slib is not only installed but also configured properly?
> In particular, you need to make sure the slib catalog is created properly.
> Normally your distribution would do this for you, but as you're running
> Slackware all bets are off and I'm afraid you're on your own. If you were
> running Fedora or Ubuntu it would "just work".
>
> Please read the slib documentation as well those bug reports which go into
> detail for how to test slib by running the 'require commands.
>
> HOPEFULLY we can remove the slib dependency from our scheme code, but that
> project, last I checked, wasn't 100% complete.
>
> Anyone looking for a project? ;)
>
Setting up the slib catalog is easy:
/path/to/guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
Regards,
John Ralls
More information about the gnucash-devel
mailing list