Skip to content

Instantly share code, notes, and snippets.

@stouset
Created January 15, 2013 18:30
Show Gist options
  • Save stouset/4540809 to your computer and use it in GitHub Desktop.
Save stouset/4540809 to your computer and use it in GitHub Desktop.
emacs-mac installation workaround
~ $ brew install --debug --HEAD emacs-mac
/usr/local/bin/brew: loading /usr/local/Library/Formula/emacs-mac.rb
/usr/local/Library/Formula/emacs-mac.rb: loading /usr/local/Library/Formula/python.rb
==> Cloning git://github.com/railwaycat/emacs-mac-port.git
Updating /Library/Caches/Homebrew/emacs-mac--git
==> ./configure --prefix=/usr/local/Cellar/emacs-mac/HEAD --without-dbus --enabl
==> make
cd /private/tmp/emacs-mac-r3ND && aclocal -I m4
/bin/sh: aclocal: command not found
make: *** [/private/tmp/emacs-mac-r3ND/aclocal.m4] Error 127
/usr/local/Library/Homebrew/formula.rb:566:in `system'
BuildError: BuildError
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 5
When you exit this shell, you will return to the menu.
emacs-mac-r3ND$ PATH=/usr/local/bin:$PATH
emacs-mac-r3ND$ make
cd /private/tmp/emacs-mac-r3ND && aclocal -I m4
cd /private/tmp/emacs-mac-r3ND && autoconf
cd /private/tmp/emacs-mac-r3ND && autoheader
cd /private/tmp/emacs-mac-r3ND && automake --gnu -a -c lib/Makefile
...
emacs-mac-r3ND$ exit
exit
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 2
==> make install
==> Caveats
This is YAMAMOTO Mitsuharu's experimental Mac port, which adds
some of the functionality from the old Carbon and Carbon+AppKit
Emacs ports to Emacs 23. After installing, see README-mac and
NEWS-mac in /usr/local/Cellar/emacs-mac/HEAD for the port details.
Emacs.app was installed to: /Applications
==> Summary
🍺 /usr/local/Cellar/emacs-mac/HEAD: 3885 files, 98M, built in 2.5 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment