From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
On Thu, 04 Oct 2018 08:10:35 +090= 0,
Glenn Morris wrote:
>
>
> Is this the perennial "xcode-select --install" issue again?<= br> >
> Bug#18779, 22552, 24068, 27526#74, 29931, ...
> https://lists.gnu.org/r/emacs-devel/20= 15-11/msg01926.html
I've received a similar report for the Mac port, and the situation was<= br> a bit different.=C2=A0 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://devel= oper.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.=C2=A0 Philipp, could you try
=C2=A0 $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17
to see if it refers to /usr/include ?=C2=A0 If so, locate the erroneous
config file by the following command:
=C2=A0 $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17"=
$ pkg-config --c= flags --libs "libxml-2.0 > 2.6.17"
-I/usr/include/l= ibxml2 -lxml2
$ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17"=
/usr/= local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12
And xcode-select --insta= ll doesn't help (because /usr/include doesn't exist).