source: general/prog/clisp.xml@ 45ab6c7

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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