From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
On Mon, Jan 01, 2018 at 03:12:57PM +0000, Philipp Stephani wrote:
> Philipp Stephani <p.stephani2@gmail.com> schrieb am Mo., 1. Jan. 2018 um > 16:05 Uhr:
>
> > Alan Third <alan@idiocy.org> schrieb am Mo., 1. Jan. 2018 um 15:59 Uhr:
> >
> >> On Mon, Jan 01, 2018 at 01:15:09PM +0100, Philipp wrote:
> >> >
> >> > There are a few small bugs when building on macOS and no= t passing the
> >> > right configure options.
> >> >
> >> > 1. When running configure without options, the build fai= ls with an error
> >> >
> >> > xml.c:26:10: fatal error: 'libxml/tree.h' file n= ot found
> >> > #include <libxml/tree.h>
> >> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~~~
> >> >
> >> > Apparently configure detects libxml2 to be present, but = doesn't set the
> >> > correct include path.
> >>
> >> This works fine here. Is it possible this was introduced by m= acOS
> >> 10.13?
> >>
> >> Do you see the file in /usr/include/libxml2/libxml/?
> >>
> >
> > No, /usr/include doesn't exist at all on my system. The inclu= de directory
> > is
> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platf= orm/Developer/SDKs/MacOSX.sdk/usr/include.
> >
>
> `xcode-select --install` does add a /usr/include directory. If
> `xcode-select --install` is necessary for building Emacs, should confi= gure
> error out if it hasn't been run?
> However, all other parts of the build process seem to work fine withou= t
> `xcode-select --install`.
Can you please run
=C2=A0 =C2=A0 xcrun --show-sdk-path
And see if it returns something useful? On my machine it returns
nothing at all, but I don=E2=80=99t have the full xcode installed.