source: general/genlib/slib.xml@ 4fae3a22

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4fae3a22 was 4fae3a22, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated to SLIB-3a4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7010 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY slib-download-http "http://swiss.csail.mit.edu/ftpdir/scm/slib&slib-version;.tar.gz">
8 <!ENTITY slib-download-ftp " ">
9 <!ENTITY slib-md5sum "87bc0b62370c0bf8a510a2acf6868eb9">
10 <!ENTITY slib-size "877 KB">
11 <!ENTITY slib-buildsize "21 MB (includes building and installing docs)">
12 <!ENTITY slib-time "0.1 SBU (includes building docs)">
13]>
14
15<sect1 id="slib" xreflabel="SLIB-&slib-version;">
16 <?dbhtml filename="slib.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>SLIB-&slib-version;</title>
24
25 <indexterm zone="slib">
26 <primary sortas="a-SLIB">SLIB</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to SLIB</title>
31
32 <para>The <application>SLIB</application> package is a portable library for
33 the <application>Scheme</application> programming language. It provides a
34 platform independent framework for using <quote>packages</quote> of
35 <application>Scheme</application> procedures and syntax.
36 Its catalog can be transparently extended to accommodate packages specific
37 to a site, implementation, user or directory. SLIB provides compatibility
38 and utility functions for all standard Scheme implementations including
39 Bigloo, Chez, ELK 3.0, GAMBIT 3.0, Guile, JScheme, MacScheme, MITScheme,
40 PLT Scheme (DrScheme and MzScheme), Pocket Scheme, RScheme, scheme->C,
41 Scheme48, SCM, SCM Mac, scsh, Stk, T3.1, umb-scheme, and VSCM.</para>
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&slib-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&slib-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &slib-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &slib-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &slib-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &slib-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
66 <itemizedlist spacing='compact'>
67 <listitem>
68 <para>Required Patch: <ulink
69 url="&patch-root;/slib-&slib-version;-guile_fixes-1.patch"/></para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">SLIB Dependencies</bridgehead>
74
75 <para>There are no build dependencies as this package is nothing but many
76 text script files which are copied to the system. If you are installing
77 this package to support a <application>GnuCash</application> installation,
78 you should ensure that <xref linkend="guile"/> is installed so the
79 <application>SLIB</application> catalog for <application>Guile</application>
80 can be created.</para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/slib"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of SLIB</title>
89
90 <para>Install <application>SLIB</application> by issuing the following
91 commands:</para>
92
93<screen><userinput>patch -Np1 -i ../slib-&slib-version;-guile_fixes-1.patch &amp;&amp;
94sed -i 's|usr/lib|usr/share|' {RScheme,guile}.init</userinput></screen>
95
96 <para>If you have <xref linkend="tetex"/> installed and wish to
97 build PDF, Postscript, HTML or text documentation, issue any or all of
98 the following commands:</para>
99
100<screen><userinput>texi2pdf slib.texi &amp;&amp;
101texi2html slib.texi &amp;&amp;
102texi2dvi slib.texi &amp;&amp;
103dvips -o slib.ps slib.dvi &amp;&amp;
104makeinfo -o slib.txt --plaintext slib.texi</userinput></screen>
105
106 <para>This package does not come with a functional test suite.</para>
107
108 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
109
110<screen role="root"><userinput>make prefix=/usr/ \
111 libdir=/usr/share/ \
112 mandir=/usr/share/man/ \
113 infodir=/usr/share/info/ \
114 install installinfo &amp;&amp;
115
116install -v -m755 -d /usr/share/doc/slib-&slib-version; &amp;&amp;
117install -v -m644 ANNOUNCE FAQ README /usr/share/doc/slib-&slib-version;</userinput></screen>
118
119 <para>If you have <xref linkend="guile"/> installed, create the following
120 symbolic link as the <systemitem class="username">root</systemitem> user to
121 satisfy <application>Guile</application>'s default
122 <quote>Implementation Vicinity</quote> directory.</para>
123
124<screen role="root"><userinput>ln -v -s ../slib /usr/share/guile</userinput></screen>
125
126 <para>If you built any of the documentation, install it using the following
127 command as the <systemitem class="username">root</systemitem> user:</para>
128
129<screen role="root"><userinput>install -v -m644 slib.{pdf,html,dvi,ps,txt,texi} \
130 /usr/share/doc/slib-&slib-version;</userinput></screen>
131
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <para><command>sed -i 's|usr/lib|usr/share|' {RScheme,guile}.init</command>:
138 This command is used to change the <envar>libdir</envar> variable embedded
139 in the two scripts to match the installation variable.</para>
140
141 <para><command>make ... install installinfo</command>: This command
142 installs the package and the <command>info</command> documentation into the
143 indicated directories.</para>
144
145 </sect2>
146
147 <sect2 role="configuration" id="slib-config">
148 <title>Configuring SLIB</title>
149
150 <para>For many of the Scheme implementations, an
151 <application>SLIB</application> Scheme implementation catalog must be
152 created. If you have <xref linkend="guile"/> installed to support a
153 <application>GnuCash</application> installation, you must create a
154 catalog. You can use the <command>make catalogs</command> command, but
155 there will be many warnings and confusing messages as it tries to create
156 a catalog for many of the possible Scheme implementations which are
157 probably not installed on the system. To create a single catalog just
158 for the <application>Guile</application> installation, issue the following
159 command as the <systemitem class="username">root</systemitem> user:</para>
160
161<screen role="root"><userinput>guile -l guile.init \
162 -c "(use-modules (ice-9 slib)) (require 'new-catalog)"</userinput></screen>
163
164 <para>If there was no output from the previous command, and the file
165 <filename>/usr/share/guile/slibcat</filename> now exists, the catalog
166 was properly created.</para>
167
168 </sect2>
169
170 <sect2 role="content">
171 <title>Contents</title>
172
173 <segmentedlist>
174 <segtitle>Installed Program</segtitle>
175 <segtitle>Installed Libraries</segtitle>
176 <segtitle>Installed Directory</segtitle>
177
178 <seglistitem>
179 <seg>slib</seg>
180 <seg>a <application>Scheme</application> library system</seg>
181 <seg>/usr/share/slib and /usr/share/doc/slib-&slib-version;</seg>
182 </seglistitem>
183 </segmentedlist>
184
185 <variablelist>
186 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
187 <?dbfo list-presentation="list"?>
188 <?dbhtml list-presentation="table"?>
189
190 <varlistentry id="slib-prog">
191 <term><command>slib</command></term>
192 <listitem>
193 <para>is a shell script used to initialize
194 <application>SLIB</application> in a named
195 <application>Scheme</application> implementation. It can also be
196 used to initialize an <application>SLIB</application> session using
197 a given executable.</para>
198 <indexterm zone="slib slib-prog">
199 <primary sortas="b-slib">slib</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 </variablelist>
205
206 </sect2>
207
208</sect1>
Note: See TracBrowser for help on using the repository browser.