all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: 29931@debbugs.gnu.org
Subject: bug#29931: 27.0.50; Slightly suboptimal build behavior on macOS
Date: Tue, 02 Jan 2018 19:51:15 +0000	[thread overview]
Message-ID: <CAArVCkS44X8Fj6-hEVtLFCbJoP2MLQBRivMwLqAv0EY9NPqk=g@mail.gmail.com> (raw)
In-Reply-To: <20180101155359.GB53381@breton.holly.idiocy.org>

[-- Attachment #1: Type: text/plain, Size: 2021 bytes --]

Alan Third <alan@idiocy.org> schrieb am Mo., 1. Jan. 2018 um 16:54 Uhr:

> 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 not passing
> the
> > >> > right configure options.
> > >> >
> > >> > 1. When running configure without options, the build fails with an
> error
> > >> >
> > >> > xml.c:26:10: fatal error: 'libxml/tree.h' file not found
> > >> > #include <libxml/tree.h>
> > >> >          ^~~~~~~~~~~~~~~
> > >> >
> > >> > 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 macOS
> > >> 10.13?
> > >>
> > >> Do you see the file in /usr/include/libxml2/libxml/?
> > >>
> > >
> > > No, /usr/include doesn't exist at all on my system. The include
> directory
> > > is
> > >
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/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
> configure
> > error out if it hasn't been run?
> > However, all other parts of the build process seem to work fine without
> > `xcode-select --install`.
>
> Can you please run
>
>     xcrun --show-sdk-path
>
> And see if it returns something useful? On my machine it returns
> nothing at all, but I don’t have the full xcode installed.
>
>
It prints the correct directory:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
That is, `xcrun --show-sdk-path`/usr/include/libxml2 contains the required
header files.

[-- Attachment #2: Type: text/html, Size: 2794 bytes --]

  parent reply	other threads:[~2018-01-02 19:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-01 12:15 bug#29931: 27.0.50; Slightly suboptimal build behavior on macOS Philipp
2018-01-01 13:13 ` Noam Postavsky
2018-01-01 13:51   ` Philipp Stephani
2018-01-01 14:54   ` Alan Third
2018-01-01 14:59 ` Alan Third
2018-01-01 15:05   ` Philipp Stephani
2018-01-01 15:12     ` Philipp Stephani
2018-01-01 15:53       ` Alan Third
2018-01-02 12:10         ` Alan Third
2018-01-02 20:03           ` Philipp Stephani
2018-01-02 21:51             ` Alan Third
2018-01-02 19:51         ` Philipp Stephani [this message]
2018-01-01 15:48     ` Alan Third
2018-01-02 19:42       ` Philipp Stephani
2018-01-02 19:48       ` Philipp Stephani
2018-01-02 19:49         ` Philipp Stephani
2018-01-02 20:04         ` Eli Zaretskii
2018-01-02 20:19           ` Alan Third
2018-01-02 21:24             ` Alan Third
2018-01-07 14:05               ` Philipp Stephani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkS44X8Fj6-hEVtLFCbJoP2MLQBRivMwLqAv0EY9NPqk=g@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=29931@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.