GNU bug report logs -
#24460
a workaround for Emacs-25.1.1 configure error on Mac 10.11.6 :AppKit.h usability no bur presence yes with gcc
Previous Next
Reported by: fu7mu4 <fu7mu4 <at> gmail.com>
Date: Sun, 18 Sep 2016 17:48:02 UTC
Severity: normal
Tags: notabug
Done: Alan Third <alan <at> idiocy.org>
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 24460 in the body.
You can then email your comments to 24460 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24460
; Package
emacs
.
(Sun, 18 Sep 2016 17:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
fu7mu4 <fu7mu4 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 18 Sep 2016 17:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello emacs developers.
I'm fu7m4, one of Emacs user.
A configure Warning asks me to report this to all.
## Report this to bug-gnu-emacs <at> gnu.org ##
This warning/error's workaround may be wrong.
But my emacs 25.1 seems to be work well.
Thanks.
# Short Description
installing emacs 25.1 on Mac from source (nextstep build), the configure
script with "--without-x" argument says that AppKit.h is found but not
unusable ;
./configure --without-x
....snip....
checking AppKit/AppKit.h usability... no
checking AppKit/AppKit.h presence... yes
configure: WARNING: AppKit/AppKit.h: present but cannot be compiled
configure: WARNING: AppKit/AppKit.h: check for missing prerequisite
headers?
configure: WARNING: AppKit/AppKit.h: see the Autoconf documentation
configure: WARNING: AppKit/AppKit.h: section "Present But Cannot Be
Compiled"
configure: WARNING: AppKit/AppKit.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-gnu-emacs <at> gnu.org ##
configure: WARNING: ## ------------------------------------ ##
checking for AppKit/AppKit.h... no
configure: error: The include files (AppKit/AppKit.h etc) that
are required for a Nextstep build are missing or cannot be compiled.
Either fix this, or re-configure with the option '--without-ns'.
#Environment
Mac :10.11.6
default compiler: gcc (MacPorts gcc5 5.4.0_0) 5.4.0
#Source
ftp mirror's source
#Steps for reproduce
curl -OL http://ftp.jaist.ac.jp/pub/GNU/emacs/emacs-25.1.tar.xz
tar Jxvf emacs-25.1.tar.xz
cd emacs-25.1
./configure --without-x
#Workaround
use clang instead of gcc, like:
CC=/usr/bin/clang ./configure --without-x
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24460
; Package
emacs
.
(Sun, 18 Sep 2016 20:32:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24460 <at> debbugs.gnu.org (full text, mbox):
On Mon, Sep 19, 2016 at 12:40:31AM +0900, fu7mu4 wrote:
> Hello emacs developers.
> I'm fu7m4, one of Emacs user.
<snip>
> installing emacs 25.1 on Mac from source (nextstep build), the configure
> script with "--without-x" argument says that AppKit.h is found but not
> unusable ;
>
> ./configure --without-x
>
> ....snip....
>
> checking AppKit/AppKit.h usability... no
> checking AppKit/AppKit.h presence... yes
> configure: WARNING: AppKit/AppKit.h: present but cannot be compiled
> configure: WARNING: AppKit/AppKit.h: check for missing prerequisite
> headers?
> configure: WARNING: AppKit/AppKit.h: see the Autoconf documentation
> configure: WARNING: AppKit/AppKit.h: section "Present But Cannot Be
> Compiled"
> configure: WARNING: AppKit/AppKit.h: proceeding with the compiler's result
> configure: WARNING: ## ------------------------------------ ##
> configure: WARNING: ## Report this to bug-gnu-emacs <at> gnu.org ##
> configure: WARNING: ## ------------------------------------ ##
> checking for AppKit/AppKit.h... no
> configure: error: The include files (AppKit/AppKit.h etc) that
> are required for a Nextstep build are missing or cannot be compiled.
> Either fix this, or re-configure with the option '--without-ns'.
I have to admit I’ve never tried building Emacs on macOS using gcc, I
always just use clang. I have built the NS port against GNUStep using
gcc, though.
Searching on Google doesn’t give any real clues beyond perhaps
reinstalling XCode.
--
Alan Third
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24460
; Package
emacs
.
(Thu, 22 Sep 2016 09:12:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 24460 <at> debbugs.gnu.org (full text, mbox):
In the failed 'configure', what does 'config.log' say afterwards? Can you attach
a gzipped copy of that file?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24460
; Package
emacs
.
(Mon, 10 Oct 2016 15:20:02 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, 22 Sep 2016 02:11:44 -0700 Paul Eggert wrote:
>In the failed 'configure', what does 'config.log' say afterwards? Can you
attach a gzipped copy of that file?
Since I have not seen config.log, I'm attaching a copy of the same error I
got. I'm using Sierra with Xcode v7.3 compiling against the latest trunk.
If I use ./configure --without-x, then I get another set of errors about
missing jpg, png, and such libraries. I know I have them all. I can compile
other apps. I even have the AppKit.h file.
Thanks for helping,
Lambda Coder.
[Message part 2 (text/html, inline)]
[config.log.gz (application/x-gzip, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24460
; Package
emacs
.
(Fri, 14 Oct 2016 17:09:01 GMT)
Full text and
rfc822 format available.
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Update Xcode to version 8.0 on macOS Sierra (10.12) to fix this error.
Software update will not offer Xcode update to 8.0 from Xcode 7.3. It has
be done specifically from the app store. Hope this helps.
configure: WARNING: AppKit/AppKit.h: present but cannot be compiled
configure: WARNING: AppKit/AppKit.h: check for missing prerequisite
headers?
configure: WARNING: AppKit/AppKit.h: see the Autoconf documentation
configure: WARNING: AppKit/AppKit.h: section "Present But Cannot Be
Compiled"
configure: WARNING: AppKit/AppKit.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-gnu-emacs <at> gnu.org ##
configure: WARNING: ## ------------------------------------ ##
[Message part 2 (text/html, inline)]
Added tag(s) notabug.
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Sat, 15 Oct 2016 22:51:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
24460 <at> debbugs.gnu.org and fu7mu4 <fu7mu4 <at> gmail.com>
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Sat, 15 Oct 2016 22:51:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 13 Nov 2016 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 214 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.