source: general/prog/clisp.xml@ 2d0650b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.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 2d0650b was a1ac81d, checked in by Douglas R. Reno <renodr@…>, 4 years ago

clisp: Work around a function alignment bug in binutils/gcc on i686

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

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