Dan Sugalski explains why Emacs on OS X breaks so easily after an OS update:
Part of the build process actually core-dumps a running emacs and then fixes up the core file to be an executable, which is clever but somewhat fragile on some OSes, including OS X.
It may cause breakage, but it’s definitely totally cool :-)
Here’s the world’s shortest tutorial on how to build Emacs on OS X yourself:
- Open Terminal.app
cdto some directory where you want the
emacsdir for the source created;
Checkout and build:
cvs -d :ext:[email protected]:/cvsroot/emacs -z9 co emacs
./make-package --self-contained --build-in-place
This will do the
configure game and finally create a disk image called EmacsInstaller.dmg in your
mac directory. The
--self-contained option tells the make script to put everything in the application package itself.