unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19162: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1
@ 2014-11-24  8:54 Yen Chieh Chern
  2014-11-24 19:09 ` Jan D.
  0 siblings, 1 reply; 6+ messages in thread
From: Yen Chieh Chern @ 2014-11-24  8:54 UTC (permalink / raw)
  To: 19162

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1549 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#19162: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1
  2014-11-24  8:54 bug#19162: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1 Yen Chieh Chern
@ 2014-11-24 19:09 ` Jan D.
  2014-11-24 20:20   ` Yen Chieh Chern
  0 siblings, 1 reply; 6+ messages in thread
From: Jan D. @ 2014-11-24 19:09 UTC (permalink / raw)
  To: Yen Chieh Chern; +Cc: 19162

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

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@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


[-- Attachment #2: Type: text/html, Size: 2648 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#19162: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1
  2014-11-24 19:09 ` Jan D.
@ 2014-11-24 20:20   ` Yen Chieh Chern
  2014-11-25  6:24     ` Jan D.
  0 siblings, 1 reply; 6+ messages in thread
From: Yen Chieh Chern @ 2014-11-24 20:20 UTC (permalink / raw)
  To: Jan D.; +Cc: 19162

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

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@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@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
>
>
>

[-- Attachment #2: Type: text/html, Size: 2939 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#19162: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1
  2014-11-24 20:20   ` Yen Chieh Chern
@ 2014-11-25  6:24     ` Jan D.
  2014-11-25 18:32       ` Yen Chieh Chern
  0 siblings, 1 reply; 6+ messages in thread
From: Jan D. @ 2014-11-25  6:24 UTC (permalink / raw)
  To: Yen Chieh Chern; +Cc: 19162

[-- Attachment #1: Type: text/plain, Size: 2181 bytes --]

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@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@swipnet.se <mailto:jan.h.d@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@gmail.com <mailto:angelchern@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
> 
> 


[-- Attachment #2: Type: text/html, Size: 4444 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#19162: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1
  2014-11-25  6:24     ` Jan D.
@ 2014-11-25 18:32       ` Yen Chieh Chern
  2014-11-25 19:06         ` Jan D.
  0 siblings, 1 reply; 6+ messages in thread
From: Yen Chieh Chern @ 2014-11-25 18:32 UTC (permalink / raw)
  To: Jan D.; +Cc: 19162


[-- Attachment #1.1: Type: text/plain, Size: 2328 bytes --]

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@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@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@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@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
>>
>>
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 3942 bytes --]

[-- Attachment #2: config.log.tar.xz --]
[-- Type: application/octet-stream, Size: 12132 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#19162: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1
  2014-11-25 18:32       ` Yen Chieh Chern
@ 2014-11-25 19:06         ` Jan D.
  0 siblings, 0 replies; 6+ messages in thread
From: Jan D. @ 2014-11-25 19:06 UTC (permalink / raw)
  To: Yen Chieh Chern; +Cc: 19162-done

[-- Attachment #1: Type: text/plain, Size: 3171 bytes --]

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@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@swipnet.se <mailto:jan.h.d@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@gmail.com <mailto:angelchern@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@swipnet.se <mailto:jan.h.d@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@gmail.com <mailto:angelchern@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>


[-- Attachment #2: Type: text/html, Size: 6599 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-25 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24  8:54 bug#19162: emacs-24.4 ./configure --with-ns won't proceed on Yosemite 10.10.1 Yen Chieh Chern
2014-11-24 19:09 ` Jan D.
2014-11-24 20:20   ` Yen Chieh Chern
2014-11-25  6:24     ` Jan D.
2014-11-25 18:32       ` Yen Chieh Chern
2014-11-25 19:06         ` Jan D.

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).