Contents
/usr/lib/clisp-2.49/base/
GNU Clisp is a Common Lisp implementation which includes an interpreter, compiler, debugger, and many extensions.
This package is known to build and work properly using an LFS 12.2 platform.
Download (HTTP): https://ftp.gnu.org/gnu/clisp/latest/clisp-2.49.tar.bz2
Download MD5 sum: 1962b99d5e530390ec3829236d168649
Download size: 7.8 MB
Estimated disk space required: 163 MB (add 8 MB for tests)
Estimated build time: 0.9 SBU (1.2 SBU with tests)
Optional patch: https://www.linuxfromscratch.org/patches/blfs/12.2/clisp-2.49-readline7_fixes-1.patch (required if building against libffcall)
This package does not support parallel build.
If you are building on a 32-bit system, work around a bug in GCC caused by the latest version of binutils:
case $(uname -m) in
i?86) export CFLAGS="${CFLAGS:--O2 -g} -falign-functions=4" ;;
esac
Remove two tests which fail for unknown reasons:
sed -i -e '/socket/d' -e '/"streams"/d' tests/tests.lisp
Install Clisp by running the following commands:
If you are building clisp against libffcall, apply the patch to fix a build failure with current readline:
patch -Np1 -i ../clisp-2.49-readline7_fixes-1.patch
Install Clisp by running the following commands:
mkdir build &&
cd build &&
../configure --srcdir=../ \
--prefix=/usr \
--docdir=/usr/share/doc/clisp-2.49 \
--with-libsigsegv-prefix=/usr &&
ulimit -S -s 16384 &&
make -j1
To test the results, issue: make check.
Now, as the root user:
make install
ulimit -s 16384: this increases the maximum stack size, as recommended by the configure.
--docdir=/usr/share/doc/clisp-2.49:
this switch forces the HTML documentation to be installed into a
versioned directory, rather than into /usr/share/html/.
--with-libsigsegv-prefix=/usr: use
this to tell configure that you have installed
libsigsegv in /usr, otherwise it will
not be found.
--with-libffcall-prefix=/usr: use this
to tell configure
that you have installed the optional libffcall package in /usr, otherwise like
libsigsegv it will not be found.
/usr/lib/clisp-2.49/base/