source: general/genlib/slib.xml@ df68b263

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 df68b263 was df68b263, checked in by Andrew Benton <andy@…>, 12 years ago

several small corrections

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

  • Property mode set to 100644
File size: 7.0 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
8 "http://groups.csail.mit.edu/mac/ftpdir/scm/slib-&slib-version;.tar.gz">
9 <!ENTITY slib-download-ftp " ">
10 <!ENTITY slib-md5sum "11626eef380de4f56d3082514559beb6">
11 <!ENTITY slib-size "948 KB">
12 <!ENTITY slib-buildsize "31 MB (includes building and installing docs)">
13 <!ENTITY slib-time "less than 0.1 SBU">
14]>
15
16<sect1 id="slib" xreflabel="SLIB-&slib-version;">
17 <?dbhtml filename="slib.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>SLIB-&slib-version;</title>
25
26 <indexterm zone="slib">
27 <primary sortas="a-SLIB">SLIB</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to SLIB</title>
32
33 <para>The <application>SLIB</application> package is a portable library for
34 the <application>Scheme</application> programming language. It provides a
35 platform independent framework for using <quote>packages</quote> of
36 <application>Scheme</application> procedures and syntax.
37 Its catalog can be transparently extended to accommodate packages specific
38 to a site, implementation, user or directory. SLIB provides compatibility
39 and utility functions for all standard Scheme implementations including
40 Bigloo, Chez, ELK 3.0, GAMBIT 3.0, Guile, JScheme, MacScheme, MITScheme,
41 PLT Scheme (DrScheme and MzScheme), Pocket Scheme, RScheme, scheme->C,
42 Scheme48, SCM, SCM Mac, scsh, Stk, T3.1, umb-scheme, and VSCM.</para>
43
44 &lfs70_built;
45
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>
67
68 <bridgehead renderas="sect3">SLIB Dependencies</bridgehead>
69
70 <!--
71 <para>There are no build dependencies as this package is nothing but many
72 text script files which are copied to the system. If you are installing
73 this package to support a <application>GnuCash</application> installation,
74 you should ensure that <xref linkend="guile"/> is installed so the
75 <application>SLIB</application> catalog for <application>Guile</application>
76 can be created.</para>
77 -->
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required"><xref linkend="guile"/>.</para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/slib"/></para>
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of SLIB</title>
88
89 <para>Install <application>SLIB</application> by issuing the following
90 commands:</para>
91
92<screen><userinput>sed -i 's|usr/lib|usr/share|' RScheme.init &amp;&amp;
93./configure --prefix=/usr --libdir=/usr/share &amp;&amp;
94sed -i 's# scm$# guile#;s#ginstall-info#install-info#' Makefile &amp;&amp;
95makeinfo -o slib.txt --plaintext slib.texi &amp;&amp;
96makeinfo -o slib.html --html --no-split slib.texi</userinput></screen>
97
98 <para>If you have <xref linkend="texlive"/> installed and wish to build PDF
99 or Postscript documentation, issue any or all of the following
100 commands:</para>
101
102<screen><userinput>texi2pdf slib.texi &amp;&amp;
103texi2dvi slib.texi &amp;&amp;
104dvips -o slib.ps slib.dvi</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>
109 user:</para>
110
111<screen role="root"><userinput>make install &amp;&amp;
112ln -v -s ../slib /usr/share/guile &amp;&amp;
113guile -c "(use-modules (ice-9 slib)) (require 'printf)" &amp;&amp;
114install -v -m755 -d /usr/share/doc/slib-&slib-version; &amp;&amp;
115install -v -m644 ANNOUNCE FAQ README slib.{txt,html} /usr/share/doc/slib-&slib-version;</userinput></screen>
116
117 <para>If you built any of the optional documentation, install it using the
118 following command as the <systemitem class="username">root</systemitem>
119 user:</para>
120
121<screen role="root"><userinput>install -v -m644 slib.{pdf,dvi,ps} /usr/share/doc/slib-&slib-version;</userinput></screen>
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
127 <para><command>sed -i 's|usr/lib|usr/share|' RScheme.init</command>:
128 This command is used to change the <envar>libdir</envar> variable embedded
129 in the script to match the installation.</para>
130
131 <para><option>--libdir=/usr/share</option>: This option puts the installed
132 in files <filename class="directory">/usr/share/slib</filename> instead of
133 <filename class="directory">/usr/lib/slib</filename>.</para>
134
135 <para><command>ln -v -s ../slib /usr/share/guile</command>: This command
136 puts a symbolic link to the <application>slib</application> files in
137 <application>Guile</application>'s default <quote>Implementation
138 Vicinity</quote>.</para>
139
140 <para><command>guile -c "(use-modules (ice-9 slib)) (require
141 'printf)"</command>: This command creates a guile catalog of the
142 <application>slib</application> files.</para>
143
144 <para><command>make ... install installinfo</command>: This command
145 installs the package and the <command>info</command> documentation into the
146 indicated directories.</para>
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Program</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directory</segtitle>
156
157 <seglistitem>
158 <seg>slib</seg>
159 <seg>a <application>Scheme</application> library system</seg>
160 <seg>/usr/share/slib and /usr/share/doc/slib-&slib-version;</seg>
161 </seglistitem>
162 </segmentedlist>
163
164 <variablelist>
165 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
166 <?dbfo list-presentation="list"?>
167 <?dbhtml list-presentation="table"?>
168
169 <varlistentry id="slib-prog">
170 <term><command>slib</command></term>
171 <listitem>
172 <para>is a shell script used to initialize
173 <application>SLIB</application> in a named
174 <application>Scheme</application> implementation. It can also be
175 used to initialize an <application>SLIB</application> session using
176 a given executable.</para>
177 <indexterm zone="slib slib-prog">
178 <primary sortas="b-slib">slib</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182 </variablelist>
183 </sect2>
184</sect1>
Note: See TracBrowser for help on using the repository browser.