GNU bug report logs - #19162
emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1

Previous Next

Package: emacs;

Reported by: Yen Chieh Chern <angelchern <at> gmail.com>

Date: Mon, 24 Nov 2014 16:51:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19162 in the body.
You can then email your comments to 19162 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19162; Package emacs. (Mon, 24 Nov 2014 16:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yen Chieh Chern <angelchern <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Nov 2014 16:51:02 GMT) Full text and rfc822 format available.

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

From: Yen Chieh Chern <angelchern <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1
Date: Mon, 24 Nov 2014 02:54:03 -0600
[Message part 1 (text/plain, inline)]
Hello there,

I have the latest Xcode 6.1 installed and Mac OS X 10.10.1. When I compiled
from source (git clone -b emacs-24 git://git.savannah.gnu.org/emacs.git)
with flag --with-ns, I got the following error,

...

checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking AppKit/AppKit.h usability... no
checking AppKit/AppKit.h presence... no
checking for AppKit/AppKit.h... no
configure: error: `--with-ns' was specified, but the include files are
missing or cannot be compiled.

I can confirm that AppKit.h exists under

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.h

I also tried the following as mentioned in bug#18779 but it won't help.

ln
-s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include
/usr/include

I am not sure if it is due to 10.10.1 upgrade, please let me know if there
is a workaround.

Thanks,
CYC
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19162; Package emacs. (Mon, 24 Nov 2014 19:10:02 GMT) Full text and rfc822 format available.

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

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Yen Chieh Chern <angelchern <at> gmail.com>
Cc: 19162 <at> debbugs.gnu.org
Subject: Re: bug#19162: emacs-24.4 ./configure --with-ns won't proceed on
 Yosemite 10.10.1
Date: Mon, 24 Nov 2014 20:09:29 +0100
[Message part 1 (text/plain, inline)]
Do:

xcode-select —install

and run configure with —with-ns —without-x

	Jan D.

> 24 nov 2014 kl. 09:54 skrev Yen Chieh Chern <angelchern <at> gmail.com>:
> 
> Hello there,
> 
> I have the latest Xcode 6.1 installed and Mac OS X 10.10.1. When I compiled from source (git clone -b emacs-24 git://git.savannah.gnu.org/emacs.git <http://git.savannah.gnu.org/emacs.git>) with flag --with-ns, I got the following error,
> 
> ...
> 
> checking for X... libraries /usr/X11/lib, headers /usr/X11/include
> checking AppKit/AppKit.h usability... no
> checking AppKit/AppKit.h presence... no
> checking for AppKit/AppKit.h... no
> configure: error: `--with-ns' was specified, but the include files are missing or cannot be compiled.
> 
> I can confirm that AppKit.h exists under 
> 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.h
> 
> I also tried the following as mentioned in bug#18779 but it won't help.
> 
> ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include
> 
> I am not sure if it is due to 10.10.1 upgrade, please let me know if there is a workaround. 
> 
> Thanks,
> CYC

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19162; Package emacs. (Mon, 24 Nov 2014 20:21:02 GMT) Full text and rfc822 format available.

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

From: Yen Chieh Chern <angelchern <at> gmail.com>
To: "Jan D." <jan.h.d <at> swipnet.se>
Cc: 19162 <at> debbugs.gnu.org
Subject: Re: bug#19162: emacs-24.4 ./configure --with-ns won't proceed on
 Yosemite 10.10.1
Date: Mon, 24 Nov 2014 14:20:29 -0600
[Message part 1 (text/plain, inline)]
Hi Jan,

I have already installed command line tools when run the previous
compilation.

I also tried compiling with flags '--with-ns --without-x', however it
doesn't work,

checking for X... disabled
checking AppKit/AppKit.h usability... no
checking AppKit/AppKit.h presence... no
checking for AppKit/AppKit.h... no
configure: error: `--with-ns' was specified, but the include
  files are missing or cannot be compiled.

Any further ideas?

Thanks,
CYC

On Mon, Nov 24, 2014 at 1:09 PM, Jan D. <jan.h.d <at> swipnet.se> wrote:

> Do:
>
> xcode-select —install
>
> and run configure with —with-ns —without-x
>
> Jan D.
>
> 24 nov 2014 kl. 09:54 skrev Yen Chieh Chern <angelchern <at> gmail.com>:
>
> Hello there,
>
> I have the latest Xcode 6.1 installed and Mac OS X 10.10.1. When I
> compiled from source (git clone -b emacs-24 git://
> git.savannah.gnu.org/emacs.git) with flag --with-ns, I got the following
> error,
>
> ...
>
> checking for X... libraries /usr/X11/lib, headers /usr/X11/include
> checking AppKit/AppKit.h usability... no
> checking AppKit/AppKit.h presence... no
> checking for AppKit/AppKit.h... no
> configure: error: `--with-ns' was specified, but the include files are
> missing or cannot be compiled.
>
> I can confirm that AppKit.h exists under
>
>
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.h
>
> I also tried the following as mentioned in bug#18779 but it won't help.
>
> ln
> -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include
>
> I am not sure if it is due to 10.10.1 upgrade, please let me know if there
> is a workaround.
>
> Thanks,
> CYC
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19162; Package emacs. (Tue, 25 Nov 2014 06:25:02 GMT) Full text and rfc822 format available.

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

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Yen Chieh Chern <angelchern <at> gmail.com>
Cc: 19162 <at> debbugs.gnu.org
Subject: Re: bug#19162: emacs-24.4 ./configure --with-ns won't proceed on
 Yosemite 10.10.1
Date: Tue, 25 Nov 2014 07:24:31 +0100
[Message part 1 (text/plain, inline)]
Check out config.log.  Compress it and send it here if you don’tsee any error in there.

	Jan D.
 
> 24 nov 2014 kl. 21:20 skrev Yen Chieh Chern <angelchern <at> gmail.com>:
> 
> Hi Jan,
> 
> I have already installed command line tools when run the previous compilation.
> 
> I also tried compiling with flags '--with-ns --without-x', however it doesn't work,
> 
> checking for X... disabled
> checking AppKit/AppKit.h usability... no
> checking AppKit/AppKit.h presence... no
> checking for AppKit/AppKit.h... no
> configure: error: `--with-ns' was specified, but the include
>   files are missing or cannot be compiled.
> 
> Any further ideas?
> 
> Thanks,
> CYC
> 
> On Mon, Nov 24, 2014 at 1:09 PM, Jan D. <jan.h.d <at> swipnet.se <mailto:jan.h.d <at> swipnet.se>> wrote:
> Do:
> 
> xcode-select —install
> 
> and run configure with —with-ns —without-x
> 
> 	Jan D.
> 
>> 24 nov 2014 kl. 09:54 skrev Yen Chieh Chern <angelchern <at> gmail.com <mailto:angelchern <at> gmail.com>>:
>> 
>> Hello there,
>> 
>> I have the latest Xcode 6.1 installed and Mac OS X 10.10.1. When I compiled from source (git clone -b emacs-24 git://git.savannah.gnu.org/emacs.git <http://git.savannah.gnu.org/emacs.git>) with flag --with-ns, I got the following error,
>> 
>> ...
>> 
>> checking for X... libraries /usr/X11/lib, headers /usr/X11/include
>> checking AppKit/AppKit.h usability... no
>> checking AppKit/AppKit.h presence... no
>> checking for AppKit/AppKit.h... no
>> configure: error: `--with-ns' was specified, but the include files are missing or cannot be compiled.
>> 
>> I can confirm that AppKit.h exists under 
>> 
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.h
>> 
>> I also tried the following as mentioned in bug#18779 but it won't help.
>> 
>> ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include
>> 
>> I am not sure if it is due to 10.10.1 upgrade, please let me know if there is a workaround. 
>> 
>> Thanks,
>> CYC
> 
> 

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19162; Package emacs. (Tue, 25 Nov 2014 18:33:02 GMT) Full text and rfc822 format available.

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

From: Yen Chieh Chern <angelchern <at> gmail.com>
To: "Jan D." <jan.h.d <at> swipnet.se>
Cc: 19162 <at> debbugs.gnu.org
Subject: Re: bug#19162: emacs-24.4 ./configure --with-ns won't proceed on
 Yosemite 10.10.1
Date: Tue, 25 Nov 2014 12:32:19 -0600
[Message part 1 (text/plain, inline)]
Hi Jan,

Thanks. I have attached the compressed config.log below. Please let me know
if you spot something wrong there.

CYC

On Tue, Nov 25, 2014 at 12:24 AM, Jan D. <jan.h.d <at> swipnet.se> wrote:

> Check out config.log.  Compress it and send it here if you don’tsee any
> error in there.
>
> Jan D.
>
>
> 24 nov 2014 kl. 21:20 skrev Yen Chieh Chern <angelchern <at> gmail.com>:
>
> Hi Jan,
>
> I have already installed command line tools when run the previous
> compilation.
>
> I also tried compiling with flags '--with-ns --without-x', however it
> doesn't work,
>
> checking for X... disabled
> checking AppKit/AppKit.h usability... no
> checking AppKit/AppKit.h presence... no
> checking for AppKit/AppKit.h... no
> configure: error: `--with-ns' was specified, but the include
>   files are missing or cannot be compiled.
>
> Any further ideas?
>
> Thanks,
> CYC
>
> On Mon, Nov 24, 2014 at 1:09 PM, Jan D. <jan.h.d <at> swipnet.se> wrote:
>
>> Do:
>>
>> xcode-select —install
>>
>> and run configure with —with-ns —without-x
>>
>> Jan D.
>>
>> 24 nov 2014 kl. 09:54 skrev Yen Chieh Chern <angelchern <at> gmail.com>:
>>
>> Hello there,
>>
>> I have the latest Xcode 6.1 installed and Mac OS X 10.10.1. When I
>> compiled from source (git clone -b emacs-24 git://
>> git.savannah.gnu.org/emacs.git) with flag --with-ns, I got the following
>> error,
>>
>> ...
>>
>> checking for X... libraries /usr/X11/lib, headers /usr/X11/include
>> checking AppKit/AppKit.h usability... no
>> checking AppKit/AppKit.h presence... no
>> checking for AppKit/AppKit.h... no
>> configure: error: `--with-ns' was specified, but the include files are
>> missing or cannot be compiled.
>>
>> I can confirm that AppKit.h exists under
>>
>>
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.h
>>
>> I also tried the following as mentioned in bug#18779 but it won't help.
>>
>> ln
>> -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include
>>
>> I am not sure if it is due to 10.10.1 upgrade, please let me know if
>> there is a workaround.
>>
>> Thanks,
>> CYC
>>
>>
>>
>
>
[Message part 2 (text/html, inline)]
[config.log.tar.xz (application/octet-stream, attachment)]

Reply sent to "Jan D." <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Tue, 25 Nov 2014 19:07:02 GMT) Full text and rfc822 format available.

Notification sent to Yen Chieh Chern <angelchern <at> gmail.com>:
bug acknowledged by developer. (Tue, 25 Nov 2014 19:07:02 GMT) Full text and rfc822 format available.

Message #22 received at 19162-done <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Yen Chieh Chern <angelchern <at> gmail.com>
Cc: 19162-done <at> debbugs.gnu.org
Subject: Re: bug#19162: emacs-24.4 ./configure --with-ns won't proceed on
 Yosemite 10.10.1
Date: Tue, 25 Nov 2014 20:06:26 +0100
[Message part 1 (text/plain, inline)]
Hello.

You are using /usr/local/bin/gcc, which isn’t the standard gcc on OSX.
There is something wrong with that gcc, you get this all over:

gcc: warning: couldn't understand kern.osversion ’14.0.0

But your gcc has no Objective-C installed:

configure:10246: gcc -std=gnu99 -c -g3 -O2 -x objective-c     -x objective-c conftest.c >&5
gcc: warning: couldn't understand kern.osversion '14.0.0
gcc: error: language objective-c not recognized

So there are multiple problems with your system.

Closing this bug.

	Jan D.

> 25 nov 2014 kl. 19:32 skrev Yen Chieh Chern <angelchern <at> gmail.com>:
> 
> Hi Jan,
> 
> Thanks. I have attached the compressed config.log below. Please let me know if you spot something wrong there. 
> 
> CYC
> 
> On Tue, Nov 25, 2014 at 12:24 AM, Jan D. <jan.h.d <at> swipnet.se <mailto:jan.h.d <at> swipnet.se>> wrote:
> Check out config.log.  Compress it and send it here if you don’tsee any error in there.
> 
> 	Jan D.
>  
>> 24 nov 2014 kl. 21:20 skrev Yen Chieh Chern <angelchern <at> gmail.com <mailto:angelchern <at> gmail.com>>:
>> 
>> Hi Jan,
>> 
>> I have already installed command line tools when run the previous compilation.
>> 
>> I also tried compiling with flags '--with-ns --without-x', however it doesn't work,
>> 
>> checking for X... disabled
>> checking AppKit/AppKit.h usability... no
>> checking AppKit/AppKit.h presence... no
>> checking for AppKit/AppKit.h... no
>> configure: error: `--with-ns' was specified, but the include
>>   files are missing or cannot be compiled.
>> 
>> Any further ideas?
>> 
>> Thanks,
>> CYC
>> 
>> On Mon, Nov 24, 2014 at 1:09 PM, Jan D. <jan.h.d <at> swipnet.se <mailto:jan.h.d <at> swipnet.se>> wrote:
>> Do:
>> 
>> xcode-select —install
>> 
>> and run configure with —with-ns —without-x
>> 
>> 	Jan D.
>> 
>>> 24 nov 2014 kl. 09:54 skrev Yen Chieh Chern <angelchern <at> gmail.com <mailto:angelchern <at> gmail.com>>:
>>> 
>>> Hello there,
>>> 
>>> I have the latest Xcode 6.1 installed and Mac OS X 10.10.1. When I compiled from source (git clone -b emacs-24 git://git.savannah.gnu.org/emacs.git <http://git.savannah.gnu.org/emacs.git>) with flag --with-ns, I got the following error,
>>> 
>>> ...
>>> 
>>> checking for X... libraries /usr/X11/lib, headers /usr/X11/include
>>> checking AppKit/AppKit.h usability... no
>>> checking AppKit/AppKit.h presence... no
>>> checking for AppKit/AppKit.h... no
>>> configure: error: `--with-ns' was specified, but the include files are missing or cannot be compiled.
>>> 
>>> I can confirm that AppKit.h exists under 
>>> 
>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.h
>>> 
>>> I also tried the following as mentioned in bug#18779 but it won't help.
>>> 
>>> ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include
>>> 
>>> I am not sure if it is due to 10.10.1 upgrade, please let me know if there is a workaround. 
>>> 
>>> Thanks,
>>> CYC
>> 
>> 
> 
> 
> <config.log.tar.xz>

[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 24 Dec 2014 12:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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