* 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
* bug#18779: 24.4; Compilation error on Mac OS X Yosemite
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 16:59 ` Glenn Morris
0 siblings, 2 replies; 7+ messages in thread
From: Jan D. @ 2015-02-05 15:15 UTC (permalink / raw)
To: 18779; +Cc: Constantine Vetoshev
> 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.
>
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?
Jan D.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#18779: 24.4; Compilation error on Mac OS X Yosemite
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
1 sibling, 1 reply; 7+ messages in thread
From: Constantine Vetoshev @ 2015-02-05 15:40 UTC (permalink / raw)
To: Jan D.; +Cc: 18779
On Thu, Feb 5, 2015 at 7:15 AM, Jan D. <jan.h.d@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!
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#18779: 24.4; Compilation error on Mac OS X Yosemite
2015-02-05 15:40 ` Constantine Vetoshev
@ 2015-02-05 15:49 ` Jan D.
0 siblings, 0 replies; 7+ messages in thread
From: Jan D. @ 2015-02-05 15:49 UTC (permalink / raw)
To: Constantine Vetoshev; +Cc: 18779-done
Constantine Vetoshev skrev den 2015-02-05 16:40:
> On Thu, Feb 5, 2015 at 7:15 AM, Jan D. <jan.h.d@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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#18779: 24.4; Compilation error on Mac OS X Yosemite
2015-02-05 15:15 ` Jan D.
2015-02-05 15:40 ` Constantine Vetoshev
@ 2015-02-05 16:59 ` Glenn Morris
2015-02-05 17:39 ` Jan D.
1 sibling, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2015-02-05 16:59 UTC (permalink / raw)
To: Jan D.; +Cc: 18779, Constantine Vetoshev
"Jan D." 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.
Is it possible/worth it to add some basic sanity-checking to
configure.ac that tests this?
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#18779: 24.4; Compilation error on Mac OS X Yosemite
2015-02-05 16:59 ` Glenn Morris
@ 2015-02-05 17:39 ` Jan D.
2015-02-05 18:10 ` Constantine Vetoshev
0 siblings, 1 reply; 7+ messages in thread
From: Jan D. @ 2015-02-05 17:39 UTC (permalink / raw)
To: Glenn Morris; +Cc: 18779, Constantine Vetoshev
Glenn Morris skrev den 2015-02-05 17:59:
> "Jan D." 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.
>
> Is it possible/worth it to add some basic sanity-checking to
> configure.ac that tests this?
>
Normally, configure fails badly, can't find compiler and such, if
command line tools are not installed. I guess you can compile without
them, using homebrew or some such (have not tried it), so it is not an
absolute requirement.
The test for libxml should add -I/Applications/Xcode.app/.... to where
libxml is, if not in /usr/include. It is hard to know what failed
without the full config.log. I suspect that the config.log is lost.
Jan D.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#18779: 24.4; Compilation error on Mac OS X Yosemite
2015-02-05 17:39 ` Jan D.
@ 2015-02-05 18:10 ` Constantine Vetoshev
0 siblings, 0 replies; 7+ messages in thread
From: Constantine Vetoshev @ 2015-02-05 18:10 UTC (permalink / raw)
To: Jan D.; +Cc: 18779
On Thu, Feb 5, 2015 at 9:39 AM, Jan D. <jan.h.d@swipnet.se> wrote:
> The test for libxml should add -I/Applications/Xcode.app/.... to where
> libxml is, if not in /usr/include. It is hard to know what failed without
> the full config.log. I suspect that the config.log is lost.
You suspect correctly. :(
^ 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).