source: general/prog/clisp.xml@ c0aa452

10.0 10.1 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 c0aa452 was de33b2a, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format general/prog

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

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