This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Mikael, I have documented your Jacal sequence in the Guile reference
manual. But as I went through to make sure that many details work as
advertised, I did a vanilla "./configure --prefix=/packages; make
install; guile" followed by
Mikael> (use-modules (ice-9 slib))
Mikael> (slib:load "math")
and I get
<15 papageno->ref> guile
guile> (use-modules (ice-9 slib))
guile> (slib:load "math")
ERROR: In procedure primitive-load-path in expression (primitive-load-path name):
ERROR: Unable to find file "math" in load path
ABORT: (misc-error)
Type "(backtrace)" to get more information.
guile> %load-path
("/packages/share/guile/site" "/packages/share/guile/1.3a" "/packages/share/guile" ".")
guile>
I put slib in /packages/share/guile/site/slib and jacal in
/packages/share/guile/site/slib/jacal. Other slib features work:
(require 'yasos) makes YASOS stuff available.
I can get it to work as advertised if I do a
(slib:load "/packages/share/guile/site/slib/jacal/math.scm")
or
(slib:load "jacal/math.scm")
or if I put stuff in environment variables.
But I think it would be good if slib were to work "out of the box"
more seamlessly than that, especially on such a standard package as
jacal.
Any suggestions? I wonder if the slib module could do some extra leg
work to add itself and its subdirs to %load-path.
PS: I suggest that the next person who revises the slib module put
some comments in there!