Saturday, May 31, 2014

Installing and Compiling Mankai Common Lisp on CentOS 5

ManKai Common Lisp (MKCL) aims to be a full implementation of the Common Lisp language in compliance with the ANSI X3J13 Common Lisp standard.

MKCL supports the operating systems Linux and Microsoft Windows, running on top of Intel x86 or AMD64 compatible processors.

For more information on installation of MKCL, do look at http://common-lisp.net/project/mkcl/

Do note that Starting with MKCL 1.1.0, MKCL requires the platform supplied GMP library, and GMP development version when compiling MKCL from its sources.

Installing GMP can be taken from a section Compiling GNU 4.7.2 on CentOS 5

GMP
  Download the following prerequistics applications libraries from ftp://gcc.gnu.org/pub/gcc/infrastructure/
1. Install gmp-4.3.2

# bunzip2 gmp-4.3.2.tar.bz2
# tar -zxvf gmp-4.3.2.tar
# cd gmp-4.3.2
# ./configure --prefix=/usr/local/gmp-4.3.2
# make
# make install
Update your .bashrc
.....
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/gmp-4.3.2/lib........
......

Compiling mkl
# tar xvf mkcl-1.1.8.tar.gz
# cd mkcl-1.1.8
#./configure
# make -j 8 install

No comments: