14 problems with ice-9/slib.scm

Jim Blandy (jimb@cyclic.com)
Mon, 26 May 1997 18:06:16 -0500

> I'm having problems getting slib to work with the standard Guile
>1.0 release (e.g. no snapshots/patches, etc.). [...] For some
>reason it cannot always find files when I do a "require". I know
>I've set %load-path correctly and
>library-vicinity/implementation-vicinity point to the correct places.
>So, does anyone know what the problem could be?

I installed SLIB 2a3(*) by copying it into /usr/local/share/guile/site
(i.e. there's now a directory called /usr/local/share/guile/site/slib
with a bunch of .scm files in it), started up guile 1.1, and it seems
to work fine.

I got that copy of SLIB from ftp://prep.ai.mit.edu/pub/gnu/jacal.
Give it a try with Guile 1.1, and let me know if you still have
troubles.

floss:jimb$ guile
Hi, Jim!
guile> (use-modules (ice-9 slib))
guile> (require 'factor)
guile> prime:jacobi-symbol
#<procedure jacobi-symbol (p q)>
guile> prime:trials
30
guile> *features*
(factor modular random-inexact random logical bignum complex real rational inexact defmacro eval vicinity record array array-for-each debug-extensions current-time socket EIDs posix net-db i/o-extensions full-continuation char-ready? system)
guile> *random-state*
#(227581683 265498795 238286724 124224507 255227387 190115719 12469593 174560359 12375405 262917615 164353007 66928380 235294450 232647872 54805545 139740229 80025889 201549351 88552534 118144221 29088453 102155688 177745658 17144170 99667147 32114014 266513624 25762845 241602599 110177228 40341012 101851682 151497675 78473257 164483392 91723908 95982153 141674957 220096445 145793827 91811619 42104047 136572766 138766220 241666314 92867260 139590298 20904467 185739149 229605466 168554435 428667 235032537 175859982 41891185 0)
guile> floss:jimb$

(* The distribution is called slib2b1.tar.gz, but the
README file says slib2a3. Whatever.)