From: Xue Fuqiao <xfq.free@gmail.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Emacs-devel <emacs-devel@gnu.org>
Subject: Re: Need help building Emacs
Date: Sun, 22 Nov 2015 11:07:58 +0800 [thread overview]
Message-ID: <CAAF+z6EBbS-yXjCNmcNFDe0bU075o9EMtxfWZM33kH9uz1xH4Q@mail.gmail.com> (raw)
In-Reply-To: <5650FF19.2020605@cs.ucla.edu>
On Sun, Nov 22, 2015 at 7:32 AM, Paul Eggert <eggert@cs.ucla.edu> wrote:
Hi Paul,
> Xue Fuqiao wrote:
>>
>> IIRC OS X already provides libxml2, so I don't need to install one. But
>> it seems that `make' cannot find `libxml/tree.h' in my header search
>> path. Can anyone point me in the right direction?
>
> I suggest looking in the file configure.ac for the strings "xcsdkdir" and
> "libxml2", and checking src/Makefile for its LIBXML2_CFLAGS setting.
Thanks for the hint!
In configure.ac:
xcsdkdir=`$XCRUN --show-sdk-path 2>/dev/null`
[...]
LIBXML2_CFLAGS="-I'$xcsdkdir/usr/include/libxml2'"
My $XCRUN is empty (I don't know why), therefore, in src/Makefile:
LIBXML2_CFLAGS = -I/usr/include/libxml2
But I don't even have the /usr/include/ directory. With GNU findutils
(find / -regex '.*xml.*') I found that libxml2 is in
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include,
instead of /usr/include/.
What should I do now? `sudo ln -s' looks like an ugly hack. Any suggestions?
next prev parent reply other threads:[~2015-11-22 3:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-21 22:58 Need help building Emacs Xue Fuqiao
2015-11-21 23:32 ` Paul Eggert
2015-11-22 3:07 ` Xue Fuqiao [this message]
2015-11-22 3:17 ` daniel sutton
2015-11-22 7:09 ` Xue Fuqiao
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=CAAF+z6EBbS-yXjCNmcNFDe0bU075o9EMtxfWZM33kH9uz1xH4Q@mail.gmail.com \
--to=xfq.free@gmail.com \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.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.