Install ClozureCL to Debian
ClozureCL can't be installed by apt-get on Debian. There is a tar.gz file of closure common lisp and using this file enables to install. The step is below.
- su -
- wget ftp://clozure.com/pub/release/1.9/ccl-1.9-linuxx86.tar.gz(Version will be changed at the time)
- tar xvzf ccl-1.9-linuxx86.tar.gz -C /usr/local/share/
- cd /usr/local/share/ccl/scripts
- edit ccl and ccl64, change CCL_DEFAULT_DIRECTORY value from /usr/local/src/ccl to /usr/local/share/ccl
- ln -s `pwd`/ccl /usr/local/bin/ccl
- ln -s `pwd`/ccl64 /usr/local/bin/ccl64
The command ccl may not be executed because of the message "lx86cl not found". In this case, using ccl64 only.
Then, create $HOME/.ccl-init.lisp like below.
(setf ccl:*DEFAULT-EXTERNAL-FORMAT* (ccl:make-external-format :character-encoding :utf-8 :line-termination :unix) ccl:*default-file-character-encoding* :utf-8 ccl:*default-socket-character-encoding* :utf-8)