Sunday, March 16, 2014

Upgrading Emacs on my Mac, using Homebrew

Yesterday, I realized that my Mac was slowed down by a process called distnoted.

A Google search taught me that Emacs was to blame for this issue.

I found this article on Stack Exchange. This is also mentioned on an emacs distribution list.

So I decided to upgrade Emacs from the 23.x build I got from EmacsForMacOSX.

I first tried the method described on The Wicked Dutch blog, building Emacs for Mac OS X.

This did not work for me.

I got this error :

configure: error: C compiler cannot create executables
See `config.log' for more details


This was happening after 10 minutes of build, pretty much in the last step, and I did not find an easy way to debug this, since especially the build directory gets deleted by the build script.

What did work was to use the methods described on the Installing Emacs on OS X wiki page of emacswiki.