unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18779: 24.4; Compilation error on Mac OS X Yosemite
@ 2014-10-20 21:21 Constantine Vetoshev
  2015-02-05 15:15 ` Jan D.
  0 siblings, 1 reply; 7+ messages in thread
From: Constantine Vetoshev @ 2014-10-20 21:21 UTC (permalink / raw)
  To: 18779

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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-05 18:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20 21:21 bug#18779: 24.4; Compilation error on Mac OS X Yosemite Constantine Vetoshev
2015-02-05 15:15 ` 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

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).