From: Constantine Vetoshev <vetoshev@gmail.com>
To: 18779@debbugs.gnu.org
Subject: bug#18779: 24.4; Compilation error on Mac OS X Yosemite
Date: Mon, 20 Oct 2014 14:21:29 -0700 [thread overview]
Message-ID: <CA+CaSqosVsT2CVdGTaW7qshRDKEUQmpjqgpiOeBMufBL4QQfuA@mail.gmail.com> (raw)
I think something changed between 10.9 (Mavericks) and 10.10
(Yosemite) with include file locations.
After running "./configure --with-ns && make install", the build proceeds until:
gcc -c -Demacs -I. -I. -I../lib -I./../lib
-I/usr/include/libxml2 -MMD -MF deps/xml.d -MP -Wno-switch
-Wno-tautological-constant-out-of-range-compare -Wno-pointer-sign -g3
-O2 xml.c
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
With the latest Xcode 6.1, symlinking
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include
to /usr/include makes the compilation error go away. The compiled
binary seems to work.
next reply other threads:[~2014-10-20 21:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-20 21:21 Constantine Vetoshev [this message]
2015-02-05 15:15 ` bug#18779: 24.4; Compilation error on Mac OS X Yosemite Jan D.
2015-02-05 15:40 ` Constantine Vetoshev
2015-02-05 15:49 ` Jan D.
2015-02-05 16:59 ` Glenn Morris
2015-02-05 17:39 ` Jan D.
2015-02-05 18:10 ` Constantine Vetoshev
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=CA+CaSqosVsT2CVdGTaW7qshRDKEUQmpjqgpiOeBMufBL4QQfuA@mail.gmail.com \
--to=vetoshev@gmail.com \
--cc=18779@debbugs.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.