all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 32927@debbugs.gnu.org
Subject: bug#32927: 27.0.50; libxml not found when building on macOS Mojave
Date: Thu, 4 Oct 2018 23:22:22 +0200	[thread overview]
Message-ID: <CAArVCkQJCCo_+pAVQCQP-cMQdzi23cHNrw7vJiasyH+9ZOJJtg@mail.gmail.com> (raw)
In-Reply-To: <wlsh1me13f.wl-mituharu@math.s.chiba-u.ac.jp>

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

YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> schrieb am Do., 4. Okt.
2018 um 07:24 Uhr:

> On Thu, 04 Oct 2018 08:10:35 +0900,
> Glenn Morris wrote:
> >
> >
> > Is this the perennial "xcode-select --install" issue again?
> >
> > Bug#18779, 22552, 24068, 27526#74, 29931, ...
> > https://lists.gnu.org/r/emacs-devel/2015-11/msg01926.html
>
> I've received a similar report for the Mac port, and the situation was
> a bit different.  Unlike the previous versions, the Command Line Tools
> package for Xcode 10 no longer installs the header files into
> /usr/include on macOS 10.14 (*).
>
> *:
> https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes
>
> The culprit for the above case was the bogus libxml-2.0.pc file that
> refers to nonexistent /usr/include.  Philipp, could you try
>
>   $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17
>
> to see if it refers to /usr/include ?  If so, locate the erroneous
> config file by the following command:
>
>   $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17"
>


Yes, looks like this is the problem:

$ pkg-config --cflags --libs "libxml-2.0 > 2.6.17"

-I/usr/include/libxml2 -lxml2


$ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17"

/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12


And xcode-select --install doesn't help (because /usr/include doesn't
exist).

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

  reply	other threads:[~2018-10-04 21:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-03 21:19 bug#32927: 27.0.50; libxml not found when building on macOS Mojave Philipp
2018-10-03 23:10 ` Glenn Morris
2018-10-04  5:24   ` YAMAMOTO Mitsuharu
2018-10-04 21:22     ` Philipp Stephani [this message]
2018-10-05  0:34       ` YAMAMOTO Mitsuharu
2018-10-15 14:52         ` Xu Xin

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=CAArVCkQJCCo_+pAVQCQP-cMQdzi23cHNrw7vJiasyH+9ZOJJtg@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=32927@debbugs.gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /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.