I finally got around to compiling and installing Emacs 24.5. I forgot about the extra bit you have to do to enable eww
on OS X, so I had to rebuild it.
I’ve blogged about how to build Emacs with eww
on OS X before but in case you’re trying to do so for Emacs 24.5, here’s the magic spell1:
./configure --with-ns CFLAGS="-I /usr/local/include/libxml2" make make install
Most people, of course, will choose to just install a binary or to use Homebrew but if, like me, you want to build from scratch, the above should do it for you.
Footnotes:
1
You may or may not need
./autogen.sh
before the configure
. I don’t and I’ve never been able to figure out why it’s sometimes needed and sometimes not. If you have problems, just call autogen.sh
first.