From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Henry Unger Newsgroups: gmane.emacs.bugs Subject: bug#22552: 25.1; 25.0.90 build fails on Mac OS X 10.11 Date: Thu, 4 Feb 2016 18:39:55 -0800 Message-ID: <2940650571-17756@linux.hitech.com> References: <97B38CA8-14F6-40F8-B02D-55A357AA3FDF@hitech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-w77w0+yJTqUXAr7vNC1d" X-Trace: ger.gmane.org 1454642124 3322 80.91.229.3 (5 Feb 2016 03:15:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 03:15:24 +0000 (UTC) Cc: 22552@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 05 04:15:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRWrX-00043R-TP for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 04:15:12 +0100 Original-Received: from localhost ([::1]:45633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRWrW-00055R-JI for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 22:15:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRWrS-00052W-2L for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 22:15:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRWrO-00085O-SJ for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 22:15:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRWrO-00085K-Og for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 22:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRWrO-0004cw-Gr for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 22:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Henry Unger Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2016 03:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22552-submit@debbugs.gnu.org id=B22552.145464206417725 (code B ref 22552); Fri, 05 Feb 2016 03:15:02 +0000 Original-Received: (at 22552) by debbugs.gnu.org; 5 Feb 2016 03:14:24 +0000 Original-Received: from localhost ([127.0.0.1]:60823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRWqk-0004bo-Ee for submit@debbugs.gnu.org; Thu, 04 Feb 2016 22:14:24 -0500 Original-Received: from mail3.hitech.com ([12.31.179.68]:46713 helo=linux.hitech.com) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRWJT-0003qC-0k for 22552@debbugs.gnu.org; Thu, 04 Feb 2016 21:40:00 -0500 X-Footer: aGl0ZWNoLmNvbQ== Original-Received: from [12.130.117.24] ([12.130.117.24]) (authenticated user hunger@hitech.com) by linux.hitech.com (Kerio Connect 9.0.1) with ESMTPSA for mituharu@math.s.chiba-u.ac.jp; Thu, 4 Feb 2016 18:39:55 -0800 X-Mailer: Kerio Connect 9.0.1/Kerio Connect Client X-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0 X-Priority: 3 Importance: Normal In-Reply-To: X-Mailman-Approved-At: Thu, 04 Feb 2016 22:14:21 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112451 Archived-At: --=-w77w0+yJTqUXAr7vNC1d Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: YAMAMOTO Mitsuharu =20 To: Henry Unger =20 Cc: <22552@debbugs.gnu.org>=20 Sent: 2/4/2016 4:29 PM=20 Subject: Re: bug#22552: 25.1; 25.0.90 build fails on Mac OS X 10.11=20 >>>>> On Thu, 4 Feb 2016 09:31:07 -0600, Henry Unger sa= id:=20 =20 > On Apple Mac running OS X 10.11:=20 > Downloaded ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-25.0.90.tar.xz=20 > Unpacked it.=20 > Ran ./configure=20 > Ran make=20 > Compile stopped with:=20 =20 > =C2=A0 CC =C2=A0 =C2=A0 =C2=A0 xml.o=20 > xml.c:23:10: fatal error: 'libxml/tree.h' file not found=20 > #include =20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^=20 > 1 error generated.=20 > make[1]: *** [xml.o] Error 1=20 > make: *** [src] Error 2=20 =20 > On my system, that file is found in:=20 =20 > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve= loper/SDKs/MacOSX10.11.sdk/usr/include/libxml2/libxml=20 =20 > This may be related to:=20 =20 > 2015-12-31 YAMAMOTO Mitsuharu =20 =20 > * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.=20 =20 > I ran:=20 =20 > $ xcrun --show-sdk-path=20 > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve= loper/SDKs/MacOSX10.11.sdk=20 =20 > config.status has:=20 =20 > S["LIBXML2_LIBS"]=3D"-lxml2 "=20 > S["LIBXML2_CFLAGS"]=3D"-I/usr/include/libxml2 "=20 =20 What's the output of "pkg-config --cflags 'libxml-2.0 > 2.6.17'" ?=20 Do you have the directory /usr/include ?=20 =20 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 YAMAMOTO Mitsuharu=20 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0mituh= aru@math.s.chiba-u.ac.jp=20 $ pkg-config --cflags 'libxml-2.0 > 2.6.17' -I/usr/include/libxml2 /usr/include does not exist per se. Instead, it is: Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOS= X10.11.sdk/usr/include I tried to create a soft link: $ sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.pl= atform/Developer/SDKs/MacOSX10.11.sdk/usr/include /usr/include Password: ln: /usr/include: Operation not permitted Apple no longer allows such things. Henry = --=-w77w0+yJTqUXAr7vNC1d Content-Type: text/html; charset="utf-8"


From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Henry Unger <hunger@hitech.com>
Cc: <22552@debbugs.gnu.org>
Sent: 2/4/2016 4:29 PM
Subject: Re: bug#22552: 25.1; 25.0.90 build fails on Mac OS X 10.11

>>>>> On Thu, 4 Feb 2016 09:31:07 -0600, Henry Unger <hunger@hitech.com> said:

> On Apple Mac running OS X 10.11:
> Downloaded ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-25.0.90.tar.xz
> Unpacked it.
> Ran ./configure
> Ran make
> Compile stopped with:

>   CC       xml.o
> xml.c:23:10: fatal error: 'libxml/tree.h' file not found
> #include <libxml/tree.h>
>          ^
> 1 error generated.
> make[1]: *** [xml.o] Error 1
> make: *** [src] Error 2

> On my system, that file is found in:

> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2/libxml

> This may be related to:

> 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>

> * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.

> I ran:

> $ xcrun --show-sdk-path
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk

> config.status has:

> S["LIBXML2_LIBS"]="-lxml2 "
> S["LIBXML2_CFLAGS"]="-I/usr/include/libxml2 "

What's the output of "pkg-config --cflags 'libxml-2.0 > 2.6.17'" ?
Do you have the directory /usr/include ?

                        YAMAMOTO Mitsuharu
                   mituharu@math.s.chiba-u.ac.jp

$ pkg-config --cflags 'libxml-2.0 > 2.6.17'
-I/usr/include/libxml2

/usr/include does not exist per se. Instead, it is:

Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include

I tried to create a soft link:

$ sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include /usr/include
Password:
ln: /usr/include: Operation not permitted

Apple no longer allows such things.

Henry
--=-w77w0+yJTqUXAr7vNC1d--