GNU bug report logs - #18779
24.4; Compilation error on Mac OS X Yosemite

Previous Next

Package: emacs;

Reported by: Constantine Vetoshev <vetoshev <at> gmail.com>

Date: Mon, 20 Oct 2014 21:23:01 UTC

Severity: important

Found in version 24.4

Done: "Jan D." <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Constantine Vetoshev <vetoshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; Compilation error on Mac OS X Yosemite
Date: Mon, 20 Oct 2014 14:21:29 -0700
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.




This bug report was last modified 10 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.