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