From: daniel sutton <danielsutton01@gmail.com>
To: Xue Fuqiao <xfq.free@gmail.com>
Cc: Paul Eggert <eggert@cs.ucla.edu>, Emacs-devel <emacs-devel@gnu.org>
Subject: Re: Need help building Emacs
Date: Sat, 21 Nov 2015 21:17:56 -0600 [thread overview]
Message-ID: <CAOLS0DOcVk122-LpnoYOgtMRsuGvs+8UFhae7GQLF3BAK6AAdA@mail.gmail.com> (raw)
In-Reply-To: <CAAF+z6EBbS-yXjCNmcNFDe0bU075o9EMtxfWZM33kH9uz1xH4Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]
you are missing the command line tools for OSX. Try running `xcode-select
--install` from the command line
On Sat, Nov 21, 2015 at 9:07 PM, Xue Fuqiao <xfq.free@gmail.com> wrote:
> 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?
>
>
[-- Attachment #2: Type: text/html, Size: 2205 bytes --]
next prev parent reply other threads:[~2015-11-22 3:17 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
2015-11-22 3:17 ` daniel sutton [this message]
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=CAOLS0DOcVk122-LpnoYOgtMRsuGvs+8UFhae7GQLF3BAK6AAdA@mail.gmail.com \
--to=danielsutton01@gmail.com \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=xfq.free@gmail.com \
/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.