source: general/prog/clisp.xml@ 7241b26

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 7241b26 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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