Building emacs-chess for Aquamacs

related: chess , emacs

I use Aquamacs for OS X, and just installed emacs-chess.  It wasn’t immediately obvious how to build it for Aquamacs, so here is the run-down:

1
2
3
4
5
6
7
# git clone git://github.com/jwiegley/emacs-chess.git
# cd emacs-chess/
# git submodule init
# git submodule update
# autoreconf -i
# EMACS=/Applications/_Development/Aquamacs.app/Contents/MacOS/Aquamacs EMACSLOADPATH=/Applications/_Development/Aquamacs.app/Contents/Resources/lisp/ ./configure
# make

I moved the emacs-chess directory into ~/.emacs.d/, and then added to my ~/.emacs file:

1
2
(add-to-list ‘load-path “~/.emacs.d/emacs-chess”)  
(load “~/.emacs.d/emacs-chess/chess.el”)

Install crafty:

1
# sudo port install crafty

And finally, run Aquamacs and play chess with M-x chess.