- Retrieve the latest release.
- Open Terminal (it's in /Applications/Utilities/)
- Choose a parent directory for the archive, eg /usr/local/ or ~/Lisp/
- cd to the parent directory and unpack the archive with tar:
tar xvfz /path/to/openmcl-darwin-ver.tar.gz
- Copy ccl/scripts/openmcl to a directory in your $PATH, eg /usr/local/bin/
- Edit the copied openmcl shell script (see below)
- You should be able to run OpenMCL by simply typing openmcl at your shell prompt
You need to tell OpenMCL where you installed it. This can be done in one of two ways. In your ~/.profile you can set CCL_DEFAULT_DIRECTORY to point to the installed location. Example for bash:
My preference is to edit the openmcl script:
if [ -z "$CCL_DEFAULT_DIRECTORY" ]; then CCL_DEFAULT_DIRECTORY=/usr/local/ccl fi
It is essential that you do this or openmcl will not work. The reason I prefer to edit the openmcl script is because I usually run OpenMCL from Carbon Emacs in a SLIME session. It's simpler to have CCL_DEFAULT_DIRECTORY set in just one place.
OpenMCL is also available from the following sources:
I have a more comprehensive page describing my Lisp setup on OS X. The previous editor of this page said that the above instructions will also work on Linux/PPC. I have not tested this, but the documentation for OpenMCL at clozure.com covers all that.
Common Lisp implementation Getting Started