GNU bug report logs -
#18779
24.4; Compilation error on Mac OS X Yosemite
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 05 Feb 2015 16:49:57 +0100
with message-id <54D39125.50501 <at> swipnet.se>
and subject line Re: 24.4; Compilation error on Mac OS X Yosemite
has caused the debbugs.gnu.org bug report #18779,
regarding 24.4; Compilation error on Mac OS X Yosemite
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
18779: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18779
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.
[Message part 3 (message/rfc822, inline)]
Constantine Vetoshev skrev den 2015-02-05 16:40:
> On Thu, Feb 5, 2015 at 7:15 AM, Jan D. <jan.h.d <at> swipnet.se> wrote:
>> If you don't have anything in /usr/include you havent installed the command
>> line tools, which Emacs kind of assumes you have, i.e.
>>
>> xcode-select --install
>>
>> Can you confirm this?
>
> You are probably right. I upgraded to XCode 6.1.1 since I filed this
> bug report, and either I or it must have done something different:
> /usr/include is there and has the header file I was missing before.
> It's probably safe to close this ticket; I'll open another one if I
> run into trouble with 24.5 prereleases. Thanks!
>
Ok, closing.
Jan D.
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.