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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Constantine Vetoshev <vetoshev <at> gmail.com>
Subject: bug#18779: closed (Re: 24.4; Compilation error on Mac OS X Yosemite)
Date: Thu, 05 Feb 2015 15:51:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18779: 24.4; Compilation error on Mac OS X Yosemite

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18779 <at> debbugs.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)]
From: "Jan D." <jan.h.d <at> swipnet.se>
To: Constantine Vetoshev <vetoshev <at> gmail.com>
Cc: 18779-done <at> debbugs.gnu.org
Subject: Re: 24.4; Compilation error on Mac OS X Yosemite
Date: Thu, 05 Feb 2015 16:49:57 +0100
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.


[Message part 3 (message/rfc822, inline)]
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 160 days ago.

Previous Next


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