unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Using SLIB in 1.6.4
@ 2005-09-23 16:34 Alan Grover
  0 siblings, 0 replies; only message in thread
From: Alan Grover @ 2005-09-23 16:34 UTC (permalink / raw)


I had some difficulty getting SLIB to work in Guile 1.6.4. The Guile
documentation is out of date for newer SLIBs.

Unpack/Install SLIB (version 3a1 or later). It seems most convenient to
move it to a spot in your %load-path.

guile> %load-path
("/usr/share/guile/site" "/usr/share/guile/1.6" "/usr/share/guile" ".")

I choose to put it at /usr/share/guile/1.6/slib. Obviously, you have to
have permission to put it there (and make it readable by appropriate users).


You have to build the catalog, as per SLIB's documentation/readme. In short:
# will create "slibcat" in the parent directory of slib
# As a user with permissions to create "slibcat":
% guile -l slib/guile.init
guile> (require 'new-catalog)

You could check for the slibcat, and its permissions. E.g.:
% ls -l /usr/share/guile/1.6/slibcat


The ice-9/slib module is broken. To preserve functionality of Guile code
that uses the ice-9/slib convention, recreate the module. Find the
ice-9/slib.scm module, and change it's contents to:

(define-module (ice-9 slib))
(load-from-path "slib/guile.init")

Make sure it's readable by appropriate users.



Now, you can use SLIB with:

(use-modules (ice-9 slib))






_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-23 16:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-23 16:34 Using SLIB in 1.6.4 Alan Grover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).