source: general/genlib/slib.xml@ 7e702f9d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 7e702f9d was 7e702f9d, checked in by Andrew Benton <andy@…>, 12 years ago

slib mandir

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9505 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/OLD/slib-&slib-version;.tar.gz">
8 <!ENTITY slib-download-ftp " ">
9 <!ENTITY slib-md5sum "850f48ad933e2fe8bb03b1e994ed4407">
10 <!ENTITY slib-size "948 KB">
11 <!ENTITY slib-buildsize "31 MB (includes building and installing docs)">
12 <!ENTITY slib-time "less than 0.1 SBU">
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>sed -i 's|usr/lib|usr/share|' RScheme.init &amp;&amp;
94makeinfo -o slib.txt --plaintext slib.texi &amp;&amp;
95makeinfo -o slib.html --html --no-split slib.texi</userinput></screen>
96
97 <para>If you have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
98 installed and wish to build PDF or Postscript documentation, issue any or
99 all of the following commands:</para>
100
101<screen><userinput>texi2pdf slib.texi &amp;&amp;
102texi2dvi slib.texi &amp;&amp;
103dvips -o slib.ps slib.dvi</userinput></screen>
104
105 <para>This package does not come with a functional test suite.</para>
106
107 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
108
109<screen role="root"><userinput>make prefix=/usr/ \
110 libdir=/usr/share/ \
111 man1dir=/usr/share/man/man1 \
112 infodir=/usr/share/info/ \
113 install installinfo &amp;&amp;
114
115install -v -m755 -d /usr/share/doc/slib-&slib-version; &amp;&amp;
116install -v -m644 ANNOUNCE FAQ README slib.{txt,html} \
117 /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 optional documentation, install it using the
127 following command as the <systemitem class="username">root</systemitem>
128 user:</para>
129
130<screen role="root"><userinput>install -v -m644 slib.{pdf,dvi,ps} \
131 /usr/share/doc/slib-&slib-version;</userinput></screen>
132
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para><command>sed -i 's|usr/lib|usr/share|' RScheme.init</command>:
139 This command is used to change the <envar>libdir</envar> variable embedded
140 in the script to match the installation variable.</para>
141
142 <para><command>make ... install installinfo</command>: This command
143 installs the package and the <command>info</command> documentation into the
144 indicated directories.</para>
145
146 </sect2>
147
148 <sect2 role="configuration" id="slib-config">
149 <title>Configuring SLIB</title>
150
151 <para>For many of the Scheme implementations, an
152 <application>SLIB</application> Scheme implementation catalog must be
153 created. If you have <xref linkend="guile"/> installed to support a
154 <application>GnuCash</application> installation, you must create a
155 catalog. You can use the <command>make catalogs</command> command, but
156 there will be many warnings and confusing messages as it tries to create
157 a catalog for many of the possible Scheme implementations which are
158 probably not installed on the system. To create a single catalog just
159 for the <application>Guile</application> installation, issue the following
160 command as the <systemitem class="username">root</systemitem> user:</para>
161
162<screen role="root"><userinput>guile -l guile.init \
163 -c "(use-modules (ice-9 slib)) (require 'new-catalog)"</userinput></screen>
164
165 <para>If there was no output from the previous command, and the file
166 <filename>/usr/share/guile/1.8/slibcat</filename> now exists, the catalog
167 was properly created.</para>
168
169 </sect2>
170
171 <sect2 role="content">
172 <title>Contents</title>
173
174 <segmentedlist>
175 <segtitle>Installed Program</segtitle>
176 <segtitle>Installed Libraries</segtitle>
177 <segtitle>Installed Directory</segtitle>
178
179 <seglistitem>
180 <seg>slib</seg>
181 <seg>a <application>Scheme</application> library system</seg>
182 <seg>/usr/share/slib and /usr/share/doc/slib-&slib-version;</seg>
183 </seglistitem>
184 </segmentedlist>
185
186 <variablelist>
187 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
188 <?dbfo list-presentation="list"?>
189 <?dbhtml list-presentation="table"?>
190
191 <varlistentry id="slib-prog">
192 <term><command>slib</command></term>
193 <listitem>
194 <para>is a shell script used to initialize
195 <application>SLIB</application> in a named
196 <application>Scheme</application> implementation. It can also be
197 used to initialize an <application>SLIB</application> session using
198 a given executable.</para>
199 <indexterm zone="slib slib-prog">
200 <primary sortas="b-slib">slib</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 </variablelist>
206
207 </sect2>
208
209</sect1>
Note: See TracBrowser for help on using the repository browser.