unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Henry Unger <hunger@hitech.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 22552@debbugs.gnu.org
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	[thread overview]
Message-ID: <2940650571-17756@linux.hitech.com> (raw)
In-Reply-To: <wla8ng9ez9.wl%mituharu@math.s.chiba-u.ac.jp>

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





 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

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

  reply	other threads:[~2016-02-05  2:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04 15:31 bug#22552: 25.1; 25.0.90 build fails on Mac OS X 10.11 Henry Unger
2016-02-05  0:29 ` YAMAMOTO Mitsuharu
2016-02-05  2:39   ` Henry Unger [this message]
2016-02-05  3:37     ` YAMAMOTO Mitsuharu
2016-02-05  6:49       ` Henry Unger
2016-02-05  9:15         ` YAMAMOTO Mitsuharu

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=2940650571-17756@linux.hitech.com \
    --to=hunger@hitech.com \
    --cc=22552@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).