I get the error message

xml.c:23:10: fatal error: 'libxml/tree.h' file not found
#include <libxml/tree.h>
         ^
1 error generated.
make[2]: *** [xml.o] Error 1
make[1]: *** [src] Error 2
make: *** [default] Error 2

even though my path includes '/usr/local/Cellar/libxml2/2.9.4_3/include/libxml2', and this directory in turn contains 'libxml/tree.h'.

On Mon, Jul 17, 2017 at 11:20 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Itai Berli <itai.berli@gmail.com>
> Date: Mon, 17 Jul 2017 21:33:07 +0300
>
> Eli, what version number should I download?

You should clone the Emacs Git repository as described here:

  https://savannah.gnu.org/git/?group=emacs

(Follow the instructions under "Anonymous clone", only for "Emacs
source repository", you don't need ELPA.)  Then the file INSTALL.REPO
which you will find in the top-level directory of the cloned
repository should explain how to build the development sources.