all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: fu7mu4 <fu7mu4@gmail.com>
To: 24460@debbugs.gnu.org
Subject: bug#24460: a workaround for Emacs-25.1.1 configure error on Mac 10.11.6 :AppKit.h usability no bur presence yes with gcc
Date: Mon, 19 Sep 2016 00:40:31 +0900	[thread overview]
Message-ID: <CALO1s+u5rBrY1ssbBpDbydytH0WXG9niJxZtJTnvtYRMpkCK-w@mail.gmail.com> (raw)

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

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

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

             reply	other threads:[~2016-09-18 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-18 15:40 fu7mu4 [this message]
2016-09-18 20:31 ` bug#24460: a workaround for Emacs-25.1.1 configure error on Mac 10.11.6 :AppKit.h usability no bur presence yes with gcc Alan Third
2016-09-22  9:11 ` Paul Eggert
2016-10-10  5:01 ` Lambda Coder
2016-10-14 17:07   ` Lambda Coder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALO1s+u5rBrY1ssbBpDbydytH0WXG9niJxZtJTnvtYRMpkCK-w@mail.gmail.com \
    --to=fu7mu4@gmail.com \
    --cc=24460@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.