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 using an LFS 7.0 platform but has not been tested.
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
If you have texlive-20110705 installed and wish to build PDF or Postscript documentation, issue any or all of the following commands:
texi2pdf slib.texi && texi2dvi slib.texi && dvips -o slib.ps slib.dvi
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
If you built any of the optional documentation, install it using
the following command as the root
user:
install -v -m644 slib.{pdf,dvi,ps} /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.
make ... install installinfo: This command installs the package and the info documentation into the indicated directories.
Last updated on 2012-02-29 19:33:50 +0000