macOS High Sierra is out and it’s time once again to build Emacs. Nothing has really changed since my 2017 Sierra update, but let’s put it all together…
Before you start, you need a few dependencies:
- Xcode (free in the Mac App Store).
- Autoconf and
Automake. The easiest way
to use Homebrew via
brew install autoconf automake. If you use another package manager, you know how to work it. If you are all-in on building from source, check out the above guide for details.
makeinfo(part of the Texinfo suite). Apple ships
makeinfo, but at some point the system version fell below the minimum version Emacs needs to build.
makeinfo can also be installed from Homebrew:
But before building Emacs, you need to get it into your $PATH ahead of
If you want to build Texinfo from source, you can:
1 2 3 4 5 6 7
This installs into
/usr/local/bin so make sure that’s in your $PATH
Once you have the prerequisites squared away, the build is the same as it’s been for a while. Get the source:
emacs-25 branch (master is the development branch):
Configure and compile (
make install build the application bundle, it
doesn’t actually install anything):
1 2 3
And, if it looks good, install it by revealing it in the Finder:
Emacs to the Applications folder.
Enjoy your new lightsaber!