The SLIB package is a portable library for the Scheme programming language. It provides a platform independent framework for using “packages” of Scheme procedures and syntax. Its catalog can be transparently extended to accommodate packages specific to a site, implementation, user or directory. SLIB provides compatibility and utility functions for all standard Scheme implementations including Bigloo, Chez, ELK 3.0, GAMBIT 3.0, Guile, JScheme, MacScheme, MITScheme, PLT Scheme (DrScheme and MzScheme), Pocket Scheme, RScheme, scheme->C, Scheme48, SCM, SCM Mac, scsh, Stk, T3.1, umb-scheme, and VSCM.
This package is known to build and work properly using an LFS-7.2 platform.
Download (HTTP): http://groups.csail.mit.edu/mac/ftpdir/scm/slib-3b3.tar.gz
Download MD5 sum: 11626eef380de4f56d3082514559beb6
Download size: 948 KB
Estimated disk space required: 31 MB (includes building and installing docs)
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/slib
Install SLIB by issuing the following commands:
sed -i 's|usr/lib|usr/share|' RScheme.init && ./configure --prefix=/usr --libdir=/usr/share && sed -i 's# scm$# guile#;s#ginstall-info#install-info#' Makefile && makeinfo -o slib.txt --plaintext slib.texi && makeinfo -o slib.html --html --no-split slib.texi
This package does not come with a functional test suite.
Now, as the root user:
make install &&
ln -v -s ../slib /usr/share/guile &&
guile -c "(use-modules (ice-9 slib)) (require 'printf)" &&
install -v -m755 -d /usr/share/doc/slib-3b3 &&
install -v -m644 ANNOUNCE FAQ README slib.{txt,html} /usr/share/doc/slib-3b3
sed -i 's|usr/lib|usr/share|'
RScheme.init: This command is used to change the
libdir variable embedded in the script
to match the installation.
--libdir=/usr/share: This option puts
the installed in files /usr/share/slib instead of /usr/lib/slib.
ln -v -s ../slib /usr/share/guile: This command puts a symbolic link to the slib files in Guile's default “Implementation Vicinity”.
guile -c "(use-modules (ice-9 slib)) (require 'printf)": This command creates a guile catalog of the slib files.
Last updated on 2013-02-11 18:51:17 +0000