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.
./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.
You may or may not need
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