[230af9f] | 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 |
|
---|
[8dfc5c3] | 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">
|
---|
[230af9f] | 9 | <!ENTITY clisp-md5sum "1962b99d5e530390ec3829236d168649">
|
---|
| 10 | <!ENTITY clisp-size "7.8 MB">
|
---|
[4897ef5] | 11 | <!ENTITY clisp-buildsize "163 MB (add 8 MB for tests)">
|
---|
[cd074c2] | 12 | <!ENTITY clisp-time "0.9 SBU (1.2 SBU with tests)">
|
---|
[230af9f] | 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 |
|
---|
[020ecfd] | 37 | &lfs10_checked;
|
---|
[230af9f] | 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 |
|
---|
[7e75c2f] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing='compact'>
|
---|
| 75 | <listitem>
|
---|
[de33b2a] | 76 | <para>
|
---|
| 77 | Optional patch: <ulink
|
---|
[7e75c2f] | 78 | url="&patch-root;/clisp-&clisp-version;-readline7_fixes-1.patch"/>
|
---|
[de33b2a] | 79 | (required if building against libffcall)
|
---|
| 80 | </para>
|
---|
[7e75c2f] | 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect3">Clisp Dependencies</bridgehead>
|
---|
[230af9f] | 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">
|
---|
[579bdb04] | 92 | <ulink url="https://www.gnu.org/software/libffcall/">libffcall</ulink>
|
---|
[230af9f] | 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 |
|
---|
[a1ac81d] | 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 ;;
|
---|
| 116 | esac</userinput></screen>
|
---|
| 117 |
|
---|
[230af9f] | 118 | <para>
|
---|
[5a9ae0c] | 119 | Remove two tests, which fail for unknown reasons:
|
---|
[4897ef5] | 120 | </para>
|
---|
| 121 |
|
---|
[5a9ae0c] | 122 | <screen><userinput>sed -i -e '/socket/d' -e '/"streams"/d' tests/tests.lisp</userinput></screen>
|
---|
[4897ef5] | 123 |
|
---|
| 124 | <para>
|
---|
| 125 | Install <application>Clisp</application> by running the following
|
---|
| 126 | commands:
|
---|
[230af9f] | 127 | </para>
|
---|
| 128 |
|
---|
[7e75c2f] | 129 | <para>
|
---|
[952c2494] | 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>:
|
---|
[7e75c2f] | 133 | </para>
|
---|
| 134 |
|
---|
[c9846cb] | 135 | <screen><userinput>patch -Np1 -i ../clisp-&clisp-version;-readline7_fixes-1.patch</userinput></screen>
|
---|
| 136 |
|
---|
[7e75c2f] | 137 | <para>
|
---|
| 138 | Install <application>Clisp</application> by running the following
|
---|
| 139 | commands:
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
[230af9f] | 142 | <screen><userinput>mkdir build &&
|
---|
[d6d8d49c] | 143 | cd build &&
|
---|
| 144 |
|
---|
[57c57831] | 145 | ../configure --srcdir=../ \
|
---|
[a268e0e] | 146 | --prefix=/usr \
|
---|
| 147 | --docdir=/usr/share/doc/clisp-&clisp-version; \
|
---|
| 148 | --with-libsigsegv-prefix=/usr &&
|
---|
[d6d8d49c] | 149 |
|
---|
[230af9f] | 150 | ulimit -s 16384 &&
|
---|
[d6d8d49c] | 151 | make -j1</userinput></screen>
|
---|
[230af9f] | 152 |
|
---|
| 153 | <para>
|
---|
[4897ef5] | 154 | To test the results, issue: <command>make check</command>.
|
---|
[230af9f] | 155 | </para>
|
---|
| 156 |
|
---|
| 157 | <para>
|
---|
| 158 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
[f3429309] | 161 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[230af9f] | 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | <sect2 role="commands">
|
---|
| 165 | <title>Command Explanations</title>
|
---|
| 166 |
|
---|
| 167 | <para>
|
---|
[7e75c2f] | 168 | <command>ulimit -s 16384</command>: this increases the maximum stack
|
---|
[230af9f] | 169 | size, as recommended by the <command>configure</command>.
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
[7e75c2f] | 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 |
|
---|
[230af9f] | 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
|
---|
[5be59bff] | 209 | <filename class="directory">/usr/lib/clisp-&clisp-version;/base/</filename>
|
---|
[230af9f] | 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>
|
---|
[de33b2a] | 227 | <para>
|
---|
| 228 | is an ANSI Common Lisp compiler, interpreter, and debugger
|
---|
| 229 | </para>
|
---|
[230af9f] | 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>
|
---|
[de33b2a] | 239 | <para>
|
---|
| 240 | is used to link an external module to clisp
|
---|
| 241 | </para>
|
---|
[230af9f] | 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>
|
---|