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.
Download (HTTP): http://swiss.csail.mit.edu/ftpdir/scm/OLD/slib-3b2.tar.gz
Download MD5 sum: 850f48ad933e2fe8bb03b1e994ed4407
Download size: 948 KB
Estimated disk space required: 31 MB (includes building and installing docs)
Estimated build time: less than 0.1 SBU
There are no build dependencies as this package is nothing but many text script files which are copied to the system. If you are installing this package to support a GnuCash installation, you should ensure that Guile-2.0.3 is installed so the SLIB catalog for Guile can be created.
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 && makeinfo -o slib.txt --plaintext slib.texi && makeinfo -o slib.html --html --no-split slib.texi
If you have TeX Live-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 prefix=/usr/ \ libdir=/usr/share/ \ mandir=/usr/share/man/ \ infodir=/usr/share/info/ \ install installinfo && install -v -m755 -d /usr/share/doc/slib-3b2 && install -v -m644 ANNOUNCE FAQ README slib.{txt,html} \ /usr/share/doc/slib-3b2
If you have Guile-2.0.3 installed, create the following
symbolic link as the root
user to
satisfy Guile's default
“Implementation Vicinity”
directory.
ln -v -s ../slib /usr/share/guile
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-3b2
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 variable.
make ... install installinfo: This command installs the package and the info documentation into the indicated directories.
For many of the Scheme implementations, an SLIB Scheme implementation catalog must be
created. If you have Guile-2.0.3 installed to support a GnuCash installation, you must create a
catalog. You can use the make
catalogs command, but there will be many warnings
and confusing messages as it tries to create a catalog for many of
the possible Scheme implementations which are probably not
installed on the system. To create a single catalog just for the
Guile installation, issue the
following command as the root
user:
guile -l guile.init \ -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
If there was no output from the previous command, and the file
/usr/share/guile/1.8/slibcat
now
exists, the catalog was properly created.
Last updated on 2011-12-05 22:58:00 +0000