glfs/general/genlib/slib.xml
Randy McMurchy 4e4b22b77a Corrected SLIB HTML download URL
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5119 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-09-26 21:33:25 +00:00

164 lines
5.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY slib-download-http "http://swiss.csail.mit.edu/ftpdir/scm/slib&slib-version;.tar.gz">
<!ENTITY slib-download-ftp " ">
<!ENTITY slib-md5sum "190b20552dce6148f5a4917648eb589e">
<!ENTITY slib-size "846 KB">
<!ENTITY slib-buildsize "19.5 MB (includes building and installing all docs)">
<!ENTITY slib-time "0.1 SBU">
]>
<sect1 id="slib" xreflabel="SLIB-&slib-version;">
<?dbhtml filename="slib.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>SLIB-&slib-version;</title>
<indexterm zone="slib">
<primary sortas="a-SLIB">SLIB</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to SLIB</title>
<para>The <application>SLIB</application> package is a portable library for
the <application>Scheme</application> programming language. It provides a
platform independent framework for using <quote>packages</quote> of
<application>Scheme</application> procedures and syntax.
<application>SLIB</application> contains useful packages for all
<application>Scheme</application> implementations, including
<application>Guile</application>. Its catalog can be transparently extended
to accommodate packages specific to a site, implementation, user or
directory.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&slib-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&slib-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &slib-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &slib-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &slib-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &slib-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required Patch: <ulink
url="&patch-root;/slib-&slib-version;-blfs_install-2.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">SLIB Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para><xref linkend="guile"/></para>
<bridgehead renderas="sect4">Optional (to Build Documentation)</bridgehead>
<para><xref linkend="tex"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of SLIB</title>
<para>Install <application>SLIB</application> by issuing the following
commands:</para>
<screen><userinput>patch -Np1 -i ../slib-&slib-version;-blfs_install-2.patch &amp;&amp;
sed -i 's|\*vicinity-suffix\*)|"/")|' guile.init &amp;&amp;
make</userinput></screen>
<para>If you have <application>TeX</application> installed and wish to
build PDF, Postscript, HTML and text documentation, issue any or all of
the following commands:</para>
<screen><userinput>make pdfdocs &amp;&amp;
make psdocs &amp;&amp;
make htmldocs &amp;&amp;
make txtdocs</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make prefix=/usr/ install &amp;&amp;
make prefix=/usr/ catalogs &amp;&amp;
make prefix=/usr/ installinfo</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i 's|\*vicinity-suffix\*)|"/")|' guile.init</command>:
This command fixes a problem with the Guile initialization script.</para>
<para><command>make prefix=/usr/ catalogs</command>: This command builds the
<application>SLIB</application> <application>Scheme</application>
implementation catalog.</para>
<para><command>make prefix=/usr/ installinfo</command>: This commands installs
the <command>info</command> documentation.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>slib</seg>
<seg>a <application>Scheme</application> library system</seg>
<seg>/usr/share/guile/slib and /usr/share/doc/slib-&slib-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="slib-prog">
<term><command>slib</command></term>
<listitem>
<para>is a shell script used to initialize
<application>SLIB</application> in a named <application>Scheme</application>
implementation. It can also be used to initialize an
<application>SLIB</application> session using a given executable.</para>
<indexterm zone="slib slib-prog">
<primary sortas="b-slib">slib</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>