After many unsuccessful attempts using OpenMCL 0.13, I have been able
to build sbcl from the sbcl-0.8.2.8 source tarball, using, as the host
common lisp, the sbcl binaries and Config.ppc-darwin of Brian
Mastenbrook at opendarwin.org.
1. Download the sbcl source tarball at:
and decompress it (using tar or StuffIt Expander). You should now have
a directory called /sbcl-0.8.2.8
2. Download the sbcl binaries to use as your host common lisp for the
3. Put the binaries where the installer script expects them to be:
cp sbcl /path/to/sbcl-0.8.2.8/src/runtime/sbcl
cp sbcl.core /path/to/sbcl-0.8.2.8/output/sbcl.core
4. Download the replacement Config.ppc-darwin file:
5. Replace: sbcl-0.8.2.8/src/runtime/Config.ppc-darwin
with the version downloaded in the previous step using either the
Finder, or Terminal.app.
6. From Terminal:
sudo gcc_select 3.1
(this avoids using the pre-release gcc 3.3, which has problems - thanks
to Brian Mastenbrook for this as well )
7. Install the sbcl binaries from Terminal:
setenv INSTALL_ROOT /usr/local
(do this if you want the binaries installed in /usr/local/lib instead
of /usr/lib. /usr/local is the usual INSTALL_ROOT for unix programming
languages under Mac OS X - e.g., Gwydion Dylan installs this way)
8. Rehash so your Terminal knows that the sbcl binary has been
8. Make sure the make shell script knows where to find gnumake:
setenv GNUMAKE /usr/bin/gnumake
9. Begin the bootstrap process:
sh install.sh 'sbcl --batch'
(the 'sbcl --batch' parameter tells the install.sh script to use sbcl
as the host common lisp, in batch compilation mode)
10. Wait - the whole process took an hour or two on a G4 733 with 768
MB of RAM.
Good luck, and thanks to Christophe Rhodes, Brian Mastenbrook, Thomas
Burdick, Pierre Mai, and all the others who have contributed to the Mac
OS X port, and helped me to get the source to compile.
Raffael Cavallaro, Ph.D.