[EMAIL PROTECTED] (Ludovic Courtès) writes: > Sorry for the delay... No problem. Thanks for your reply.
> Sebastian Tennant <[EMAIL PROTECTED]> writes: > >> An apt-installed slib: >> >> /usr/share/slib > > IIRC, the layout of the Debian `slib' package does not match the layout > of an installed-from-source SLIB, Indeed. Debian installs SLIB under /usr/share/slib. > which may explain why the symlink trick doesn't work. >> Having said that, even with the symlink it still fails, so I give up. > > The documentation available in Guile 1.8.3 or later also mentions that > you must create a catalog. Previously noted. If I start guile like so: $ slib guile guile> (require 'new-catalog) guile> this creates the catalog in SLIB's implementation vicinity: /usr/share/guile/1.8/slibcat but if I then run guile normally, I encounter the following error when calling the (ice-9 slib) module: $ guile guile> (use-modules (ice-9 slib)) ERROR: Unbound variable: slib:features ABORT: (unbound-variable) guile> I set the following variables in my .profile: # guile-lib, guile-www & guile-pg (when I get it to build) [ -d /usr/local/share/guile/site ] && \ export GUILE_LOAD_PATH="/usr/local/share/guile/site" # SLIB's 'library-vicinity' [ -d /usr/share/slib ] && \ export SCHEME_LIBRARY_PATH="/usr/share/slib/" # SLIB's 'implementation vicinity' [ -d /usr/share/guile/1.8 ] && \ export GUILE_IMPLEMENTATION_PATH="/usr/share/guile/1.8/" and /usr/share/guile/1.8/ looks like this: /usr/share/guile/1.8: total used in directory 308 available 2752472 drwxr-xr-x 7 root root 116 Mar 27 14:22 . drwxr-xr-x 3 root root 16 Feb 28 23:59 .. -rw-r--r-- 1 root root 291463 Mar 5 2007 guile-procedures.txt drwxr-xr-x 3 root root 4096 Mar 18 23:25 ice-9 drwxr-xr-x 3 root root 18 Feb 28 23:59 lang drwxr-xr-x 3 root root 34 Feb 28 23:59 oop drwxr-xr-x 2 root root 4096 Mar 15 20:14 scripts lrwxrwxrwx 1 root root 15 Mar 18 23:01 slib -> /usr/share/slib -rw-r--r-- 1 root root 7818 Mar 27 14:22 slibcat drwxr-xr-x 2 root root 4096 Mar 18 21:59 srfi This is all just for your/the list's information really, given that I'm using stock Debian versions of guile and slib. I'm still able to use SLIB in scripts thanks to SLIB's guile.init: #!/usr/bin/guile \ -l /usr/share/slib/guile.init -s !# but (use-modules (ice-9 slib)) wouls be nice :-) Seb