Can't find slib?

Donald Allen donaldcallen at gmail.com
Sat Dec 11 23:32:20 EST 2010


On Sat, Dec 11, 2010 at 10:42 AM, Derek Atkins <derek at ihtfp.com> 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?
>

Yes. No.


> In particular, you need to make sure the slib catalog is created properly.
>

Exactly what I needed from you. The file slibcat does not exist. I think
whatever slib configuration needs to be done for gnucash on slackware
happens as a side-effect of installing the (currently 2.2.9) slackware
package. But this machine has a fresh install of slackware and the gnucash
package has never been installed, but the packages it depends on *were*
installed. This is why I've never encountered this problem before when
building from the sources (I've always built from source after having
installed the package first).


>  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".
>

Now why would I want to go and do a thing like that ?-)

If I built gnucash from source on a Fedora or Ubuntu system under the same
circumstances as I did with Slackware (never having installed the official
gnucash package, but having manually installed the dependent packages to
make the source build happy) I think it's possible that the same problem
might occur, unless installation of the slib package also configures it.

Anyway, I think you've pointed me in the right direction. I won't be able to
test this for a day or two, but I will report back when I do.

/Don


> 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?  ;)
>
> > /Don
>
> -derek
>
>


More information about the gnucash-devel mailing list