[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[4e4b22b] | 7 | <!ENTITY slib-download-http "http://swiss.csail.mit.edu/ftpdir/scm/slib&slib-version;.tar.gz">
|
---|
[197c184] | 8 | <!ENTITY slib-download-ftp " ">
|
---|
[4a18013] | 9 | <!ENTITY slib-md5sum "190b20552dce6148f5a4917648eb589e">
|
---|
| 10 | <!ENTITY slib-size "846 KB">
|
---|
| 11 | <!ENTITY slib-buildsize "19.5 MB (includes building and installing all docs)">
|
---|
| 12 | <!ENTITY slib-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[4d4150b0] | 15 | <sect1 id="slib" xreflabel="SLIB-&slib-version;">
|
---|
[197c184] | 16 | <?dbhtml filename="slib.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[197c184] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[197c184] | 23 | <title>SLIB-&slib-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[197c184] | 25 | <indexterm zone="slib">
|
---|
| 26 | <primary sortas="a-SLIB">SLIB</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to SLIB</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[74390482] | 32 | <para>The <application>SLIB</application> package is a portable library for
|
---|
[4a18013] | 33 | the <application>Scheme</application> programming language. It provides a
|
---|
[74390482] | 34 | platform independent framework for using <quote>packages</quote> of
|
---|
| 35 | <application>Scheme</application> procedures and syntax.
|
---|
| 36 | <application>SLIB</application> contains useful packages for all
|
---|
| 37 | <application>Scheme</application> implementations, including
|
---|
| 38 | <application>Guile</application>. Its catalog can be transparently extended
|
---|
[919683dc] | 39 | to accommodate packages specific to a site, implementation, user or
|
---|
[197c184] | 40 | directory.</para>
|
---|
[8e75f8b9] | 41 |
|
---|
[197c184] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&slib-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&slib-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &slib-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &slib-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &slib-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated build time: &slib-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
[8e75f8b9] | 63 |
|
---|
[197c184] | 64 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 65 | <itemizedlist spacing='compact'>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Required Patch: <ulink
|
---|
[9d227199] | 68 | url="&patch-root;/slib-&slib-version;-blfs_install-2.patch"/></para>
|
---|
[197c184] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[8e75f8b9] | 71 |
|
---|
[197c184] | 72 | <bridgehead renderas="sect3">SLIB Dependencies</bridgehead>
|
---|
[8e75f8b9] | 73 |
|
---|
[197c184] | 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para><xref linkend="guile"/></para>
|
---|
[8e75f8b9] | 76 |
|
---|
[4a18013] | 77 | <bridgehead renderas="sect4">Optional (to Build Documentation)</bridgehead>
|
---|
[9d227199] | 78 | <para><xref linkend="tex"/></para>
|
---|
[4a18013] | 79 |
|
---|
[197c184] | 80 | </sect2>
|
---|
[8e75f8b9] | 81 |
|
---|
[197c184] | 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of SLIB</title>
|
---|
| 84 |
|
---|
[74390482] | 85 | <para>Install <application>SLIB</application> by issuing the following
|
---|
[197c184] | 86 | commands:</para>
|
---|
| 87 |
|
---|
[9d227199] | 88 | <screen><userinput>patch -Np1 -i ../slib-&slib-version;-blfs_install-2.patch &&
|
---|
[eef5b7e9] | 89 | sed -i 's/UNIX COHERENT/unix COHERENT/' guile.init &&
|
---|
[197c184] | 90 | make</userinput></screen>
|
---|
[8e75f8b9] | 91 |
|
---|
[9d227199] | 92 | <para>If you have <application>TeX</application> installed and wish to
|
---|
| 93 | build PDF, Postscript, HTML and text documentation, issue any or all of
|
---|
| 94 | the following commands:</para>
|
---|
[4a18013] | 95 |
|
---|
| 96 | <screen><userinput>make pdfdocs &&
|
---|
| 97 | make psdocs &&
|
---|
[9d227199] | 98 | make htmldocs &&
|
---|
| 99 | make txtdocs</userinput></screen>
|
---|
[4a18013] | 100 |
|
---|
| 101 | <para>This package does not come with a test suite.</para>
|
---|
| 102 |
|
---|
[197c184] | 103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 104 |
|
---|
[197c184] | 105 | <screen role="root"><userinput>make prefix=/usr/ install &&
|
---|
[4d4150b0] | 106 | make prefix=/usr/ catalogs &&
|
---|
[197c184] | 107 | make prefix=/usr/ installinfo</userinput></screen>
|
---|
[8e75f8b9] | 108 |
|
---|
[197c184] | 109 | </sect2>
|
---|
[8e75f8b9] | 110 |
|
---|
[197c184] | 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
[eef5b7e9] | 114 | <para><command>sed -i 's/UNIX COHERENT/unix COHERENT/' guile.init</command>:
|
---|
| 115 | This command fixes a problem with the <application>Guile</application>
|
---|
| 116 | initialization script. This fix depends on <application>Guile</application>
|
---|
| 117 | being patched as well. Ensure <application>Guile</application> was installed
|
---|
| 118 | with the <filename>guile-1.6.7-slib_3a2-1.patch</filename> applied.</para>
|
---|
[4a18013] | 119 |
|
---|
[74390482] | 120 | <para><command>make prefix=/usr/ catalogs</command>: This command builds the
|
---|
[8e75f8b9] | 121 | <application>SLIB</application> <application>Scheme</application>
|
---|
[197c184] | 122 | implementation catalog.</para>
|
---|
[8e75f8b9] | 123 |
|
---|
[74390482] | 124 | <para><command>make prefix=/usr/ installinfo</command>: This commands installs
|
---|
[197c184] | 125 | the <command>info</command> documentation.</para>
|
---|
[8e75f8b9] | 126 |
|
---|
[197c184] | 127 | </sect2>
|
---|
[8e75f8b9] | 128 |
|
---|
[197c184] | 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Program</segtitle>
|
---|
| 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Directory</segtitle>
|
---|
[8e75f8b9] | 136 |
|
---|
[197c184] | 137 | <seglistitem>
|
---|
| 138 | <seg>slib</seg>
|
---|
[4a18013] | 139 | <seg>a <application>Scheme</application> library system</seg>
|
---|
| 140 | <seg>/usr/share/guile/slib and /usr/share/doc/slib-&slib-version;</seg>
|
---|
[197c184] | 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
[8e75f8b9] | 143 |
|
---|
[197c184] | 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 148 |
|
---|
[197c184] | 149 | <varlistentry id="slib-prog">
|
---|
| 150 | <term><command>slib</command></term>
|
---|
| 151 | <listitem>
|
---|
[74390482] | 152 | <para>is a shell script used to initialize
|
---|
[8e75f8b9] | 153 | <application>SLIB</application> in a named <application>Scheme</application>
|
---|
[74390482] | 154 | implementation. It can also be used to initialize an
|
---|
[197c184] | 155 | <application>SLIB</application> session using a given executable.</para>
|
---|
| 156 | <indexterm zone="slib slib-prog">
|
---|
| 157 | <primary sortas="b-slib">slib</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
[8e75f8b9] | 161 |
|
---|
[197c184] | 162 | </variablelist>
|
---|
| 163 |
|
---|
| 164 | </sect2>
|
---|
[8e75f8b9] | 165 |
|
---|
[b866b9f7] | 166 | </sect1>
|
---|