Anyone successfully compiled 2.0.4 on Edgy?

Jim Lynch jimlynch1 at gmail.com
Tue Jan 30 07:28:06 EST 2007


It doesn't seem to know how to find my slib.

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

But it's there:

dpkg -l slib
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  slib           3a3-2          Portable Scheme library

It's in a sort of non standard place I think.

/usr/share/slib
/usr/share/slib/Bev2slib.scm
/usr/share/slib/Template.scm
/usr/share/slib/alist.scm
...

I found a post that addressed the problem and the author suggested running
guile by hand, here are the results.  Unfortunately he didn't suggest a
solution if it didn't work.

jwl at umuntu:~/gnucash-2.0.4$ guile -c "(use-modules (ice-9 slib)) ( require
'printf)"
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "slib/guile.init" in load path

As suggested I set SCHEME_LIBRARY_PATH and GUILE_LOAD_PATH to
/usr/share/slib, but that didn't help.  I did a locate on guile.init but it
isn't anywhere on the disk.  I compiled guile 1.6.8 from source and
installed to get around an earlier problem.  I had to do the same for g-wrap
1.9.7.

I noticed Derek had addressed this problem earlier, but the link is there:

ls -l /usr/share/guile/slib
lrwxrwxrwx 1 root root 15 2007-01-30 07:07 /usr/share/guile/slib ->
/usr/share/slib
and
ls -l /usr/local/share/guile/slib
lrwxrwxrwx 1 root root 15 2007-01-30 07:11 /usr/local/share/guile/slib ->
/usr/share/slib

Since
which guile
/usr/local/bin/guile
 I figured it might be looking at /usr/local/share/guile.


So I got version 3.4 of the slib and put it in /usr/share/slib34 and set the
appropriate link, i. e. /usr/local/share/guile/slib -> /usr/share/slib34

Now I get the following from the manual guile run:

guile -c "(use-modules (ice-9 slib)) ( require 'printf)"
ERROR: In procedure open-file:
ERROR: Permission denied: "/usr/local/share/guile/1.6/slibcat"
umuntu:~/slib$ ls -l /usr/local/share/guile/1.6/slibcat
ls: /usr/local/share/guile/1.6/slibcat: No such file or directory

Locate doesn't find that file and it's not in the guile 1.6.8 source tree.

Any suggestions?

Thanks,
Jim.


More information about the gnucash-user mailing list