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 clisp-download-http "&gnu-http;/clisp/latest/clisp-&clisp-version;.tar.bz2">
|
---|
8 | <!ENTITY clisp-download-ftp "&gnu-ftp;/clisp/latest/clisp-&clisp-version;.tar.bz2">
|
---|
9 | <!ENTITY clisp-md5sum "1962b99d5e530390ec3829236d168649">
|
---|
10 | <!ENTITY clisp-size "7.8 MB">
|
---|
11 | <!ENTITY clisp-buildsize "163 MB (add 8 MB for tests)">
|
---|
12 | <!ENTITY clisp-time "0.9 SBU (18 SBU with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="clisp" xreflabel="Clisp-&clisp-version;">
|
---|
16 | <?dbhtml filename="clisp.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Clisp-&clisp-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="clisp">
|
---|
26 | <primary sortas="a-Clisp">Clisp</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Clisp</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>GNU Clisp</application> is a Common Lisp implementation
|
---|
34 | which includes an interpreter, compiler, debugger, and many extensions.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs82_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&clisp-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&clisp-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &clisp-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &clisp-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &clisp-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &clisp-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
74 | <itemizedlist spacing='compact'>
|
---|
75 | <listitem>
|
---|
76 | <para>Optional patch: <ulink
|
---|
77 | url="&patch-root;/clisp-&clisp-version;-readline7_fixes-1.patch"/>
|
---|
78 | (required if building against libffcall)</para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect3">Clisp Dependencies</bridgehead>
|
---|
83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
84 | <para role="recommended">
|
---|
85 | <xref linkend="libsigsegv"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
89 | <para role="optional">
|
---|
90 | <ulink url="http://www.gnu.org/software/libffcall/">libffcall</ulink>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <para condition="html" role="usernotes">
|
---|
94 | User Notes: <ulink url="&blfs-wiki;/clisp"/>
|
---|
95 | </para>
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="installation">
|
---|
99 | <title>Installation of Clisp</title>
|
---|
100 |
|
---|
101 | <note>
|
---|
102 | <para>
|
---|
103 | This package does not support parallel build.
|
---|
104 | </para>
|
---|
105 | </note>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | Remove two tests, which fail for unknown reasons:
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <screen><userinput>sed -i -e '/socket/d' -e '/"streams"/d' tests/tests.lisp</userinput></screen>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | Install <application>Clisp</application> by running the following
|
---|
115 | commands:
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | If you are building <application>clisp</application> against
|
---|
120 | <application>libffcall</application>, apply the patch to fix a build failure
|
---|
121 | with current <application>readline</application>:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <screen><userinput>patch -Np1 -i ../clisp-&clisp-version;-readline7_fixes-1.patch</userinput></screen>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | Install <application>Clisp</application> by running the following
|
---|
128 | commands:
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <screen><userinput>mkdir build &&
|
---|
132 | cd build &&
|
---|
133 |
|
---|
134 | ../configure --srcdir=../ \
|
---|
135 | --prefix=/usr \
|
---|
136 | --docdir=/usr/share/doc/clisp-&clisp-version; \
|
---|
137 | --with-libsigsegv-prefix=/usr &&
|
---|
138 |
|
---|
139 | ulimit -s 16384 &&
|
---|
140 | make -j1</userinput></screen>
|
---|
141 |
|
---|
142 | <para>
|
---|
143 | To test the results, issue: <command>make check</command>.
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <para>
|
---|
147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2 role="commands">
|
---|
154 | <title>Command Explanations</title>
|
---|
155 |
|
---|
156 | <para>
|
---|
157 | <command>ulimit -s 16384</command>: this increases the maximum stack
|
---|
158 | size, as recommended by the <command>configure</command>.
|
---|
159 | </para>
|
---|
160 |
|
---|
161 | <para>
|
---|
162 | <command>--docdir=/usr/share/doc/clisp-&clisp-version;</command>:
|
---|
163 | this ensures the html documentation will go into a versioned directory
|
---|
164 | instead of straight into <filename
|
---|
165 | class="directory">/usr/share/html/</filename>.
|
---|
166 | </para>
|
---|
167 |
|
---|
168 | <para>
|
---|
169 | <command>--with-libsigsegv-prefix=/usr</command>: use this to tell
|
---|
170 | <command>configure</command> that you have installed
|
---|
171 | <package>libsigsegv</package> in /usr, otherwise it will not be
|
---|
172 | found.
|
---|
173 | </para>
|
---|
174 |
|
---|
175 | <para>
|
---|
176 | <option>--with-libffcall-prefix=/usr</option>: use this to tell
|
---|
177 | <command>configure</command> that you have installed the optional
|
---|
178 | <package>libffcall</package> in /usr, otherwise like
|
---|
179 | <package>libsigsegv</package> it will not be found.
|
---|
180 | </para>
|
---|
181 |
|
---|
182 | </sect2>
|
---|
183 |
|
---|
184 | <sect2 role="content">
|
---|
185 | <title>Contents</title>
|
---|
186 |
|
---|
187 | <segmentedlist>
|
---|
188 | <segtitle>Installed Programs</segtitle>
|
---|
189 | <segtitle>Installed Libraries</segtitle>
|
---|
190 | <segtitle>Installed Directories</segtitle>
|
---|
191 |
|
---|
192 | <seglistitem>
|
---|
193 | <seg>
|
---|
194 | clisp, clisp-link
|
---|
195 | </seg>
|
---|
196 | <seg>
|
---|
197 | various static libraries in
|
---|
198 | <filename class="directory">/usr/lib/clisp-&clisp-version;/base/</filename>
|
---|
199 | </seg>
|
---|
200 | <seg>
|
---|
201 | /usr/lib/clisp-&clisp-version;
|
---|
202 | /usr/share/doc/clisp-&clisp-version;
|
---|
203 | /usr/share/emacs/site-lisp;
|
---|
204 | </seg>
|
---|
205 | </seglistitem>
|
---|
206 | </segmentedlist>
|
---|
207 |
|
---|
208 | <variablelist>
|
---|
209 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
210 | <?dbfo list-presentation="list"?>
|
---|
211 | <?dbhtml list-presentation="table"?>
|
---|
212 |
|
---|
213 | <varlistentry id="clisp-prog">
|
---|
214 | <term><command>clisp</command></term>
|
---|
215 | <listitem>
|
---|
216 | <para>is an ANSI Common Lisp compiler, interpreter, and debugger</para>
|
---|
217 | <indexterm zone="clisp clisp-prog">
|
---|
218 | <primary sortas="b-clisp">clisp</primary>
|
---|
219 | </indexterm>
|
---|
220 | </listitem>
|
---|
221 | </varlistentry>
|
---|
222 |
|
---|
223 | <varlistentry id="clisp-link">
|
---|
224 | <term><command>clisp-link</command></term>
|
---|
225 | <listitem>
|
---|
226 | <para>is used to link an external module to clisp</para>
|
---|
227 | <indexterm zone="clisp clisp-link">
|
---|
228 | <primary sortas="b-clisp-link">clisp-link</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 | </variablelist>
|
---|
233 |
|
---|
234 | </sect2>
|
---|
235 |
|
---|
236 | </sect1>
|
---|