I wish to run Emacs from the latest development version.
I've downloaded the latest Emacs development version from https://savannah.gnu.org/projects/emacs (with git clone -b master git://git.sv.gnu.org/emacs.git), ran autogen.sh as suggested here, then followed the instructions on the screen: after autogen.sh I executed ./autogen.sh git, then ./configure, and finally make (if I run make install instead, I get the same error message as below). All the steps except make seemed to finish successfully.
As for make, it started off well enough, but at some point it stopped with the following error message:
xml.c:23:10: fatal error: 'libxml/tree.h' file not found
#include <libxml/tree.h>
^
1 error generated.
make[1]: *** [xml.o] Error 1
make: *** [src] Error 2
My path includes /usr/local/Cellar/libxml2/2.9.4_3/include/libxml2, and this directory in turn contains libxml/tree.h.
How can I fix the problem?
I run macOS Sierra version 10.12.5 .
libxmllibrary (through homebrew)?libxmlis not available via Homebrew.libxml2is available through Homebrew. Will it do?make(to build the executable and everything else) andmake install(to install the built executable and the rest).xcode-select --installfrom the command line"