You will need to have recent versions of the Common Lisp implementations you want to work with installed and available as the Makefile
requires. Installation is different depending on operating system.
Support for Common Lisp implementations varies over different operating systems. By default, only implementations available in binary form are built with the make all
command. Check the value of the All
variable in the Makefile
to see which are supported for your OS and architecture.
Check the project page for any CL implementation to build from source if necessary.
Below is a summary of currently supported implementations per BSD variant. As always, you should check for yourself the availability of these CLs with the package manager of the particular BSD you are running, e.g., pkg search sbcl
or pkg_info -Q sbcl
.
FreeBSD | OpenBSD | NetBSD | |
---|---|---|---|
CLisp | N/A | pkg_add clisp |
pkg_add clisp |
CCL | pkg install ccl |
N/A | N/A |
ECL | pkg install ecl |
pkg_add ecl |
pkg_add ecl |
SBCL | pkg install sbcl |
pkg_add sbcl |
pkg_add sbcl (i386 Only) |
Also, you will need to install GNU make. This repo's Makefile
is a GNU make makefile and typing make ...
is likely to invoke the system make (BSD make) and quit on you harshly, complaining about parsing errors. Hence, it is necessary to ensure that the gmake
package/port is installed, and replace make ...
in the instructions below with gmake ...
.
CLisp, ECL and SBCL are available through apt
. Just run sudo apt install clisp ecl sbcl
.
ECL requires libffi-dev
to build, which can also be retrieved through apt
.
There is a separately available debian package for Clozure. Download and install with dpkg -i
.
If the version of SBCL available throught apt
is too old, a sufficiently new version is available from debian.
CLisp, Clozure, ECL and SBCL can be acquired through Homebrew with brew install clisp clozure-cl ecl sbcl
.
CLisp has an installer and a zip package on SoureForge. You'll have to include clisp.exe
as well as libintl-8.dll
and libreadline6.dll
in on your PATH to ensure the clisp build of shen-cl will run.
Clozure will need to be installed manually:
- Download the zip from here and extract it under
Program Files
. - Add the Clozure directory to your
PATH
or add a script namedccl.cmd
to somewhere in yourPATH
containing something like:
@echo off
"C:\Program Files\ccl\wx86cl64.exe" %*
ECL needs to be built from source. Refer to the appveyor.yml config for build procedure. Requires Visual Studio 2015+ tools. ECL support is spotty on Windows and is not included in make all
when on Windows.
SBCL has an msi package on its download page.
The Makefile
is not very Windows-friendly, so a toolset like GOW can fill the gap, or use MGWIN or Cygwin.
The Makefile
also requires Powershell at version 4 or higher).