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 01:15:09PM +0100, Philipp wrote:
>
> There are a few small bugs when building on macOS and not passing the<= br> > right configure options.
>
> 1. When running configure without options, the build fails with an err= or
>
> xml.c:26:10: fatal error: 'libxml/tree.h' file not 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 se= t the
> correct include path.
This works fine here. Is it possible this was introduced by macOS
10.13?
Do you see the file in /usr/include/libxml2/libxml/?
> 2. When building with --without-libxml2, the build succeeds, but gives=
> warnings like
>
>=C2=A0 =C2=A0GEN=C2=A0 =C2=A0 =C2=A0 ../../info/auth.info
> ./../emacs/docstyle.texi:3: warning: unrecognized encoding name `UTF-8= '.
>
> This is because macOS ships an ancient version of makeinfo (4.8).=C2= =A0 It's
> possible to install a newer version using Homebrew, but that's not= in
> PATH and therefore not found.=C2=A0 Maybe configure could also search = for
> makeinfo in the Homebrew directory (/usr/local/opt/texinfo/bin)?
I=E2=80=99d think it=E2=80=99s the user=E2=80=99s responsibility to make su= re /usr/local/bin
is on their path if they want to use homebrew stuff?
=3D=3D> Caveats
This formula is = keg-only, which means it was not symlinked into /usr/local,
because software= that uses TeX, such as lilypond and octave, require a newer
version of these= files.
If you need to h= ave this software first in your PATH run: