Build Emacs on (Mac OS X 7) Lion, need get the latest code of emacs from the code repository.
(The latest stable release 23.3 can not be built on Lion, but 24.0.x is OK,
to build emacs 23.3 on Lion, check this.)
Using git to checkout the code, "git clone --depth 1 git://git.savannah.gnu.org/emacs.git"
"--depth 1" gets the latest code but not the whole history of repository.
The newer m4, autoconf, automake, libtool are needed to build emacs code.
Lion has got these tools preinstalled but too old to build emacs code.
I download them from mirror.kernel.org. Download, build and install with the classic steps (configure, make, sudo make install).
Do not forget add /usr/local/bin to your bash PATH, otherwise the tools still are the older version of the system.
Patch emacs code with the Lion full screen features.
Get the patch file from git://gist.github.com/1355895.git.
It is really cool and straightforward.
Full screen support is a big favor to developer. Amazing feature, love Lion.
0 comments:
Post a Comment