all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problems building master on macOS
@ 2021-07-22 20:17 Perry E. Metzger
  2021-07-22 20:49 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Perry E. Metzger @ 2021-07-22 20:17 UTC (permalink / raw)
  To: emacs-devel

Howdy! I hadn't built master on macOS in a while, and I got this error:

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

Any idea what's going wrong? I presume it's an easy fix?

Perry





^ permalink raw reply	[flat|nested] 8+ messages in thread
* Problems building master on macOS
@ 2017-06-20  2:27 Chad Brown
  2017-06-20  2:47 ` Ken Raeburn
  2017-06-20 18:57 ` Paul Eggert
  0 siblings, 2 replies; 8+ messages in thread
From: Chad Brown @ 2017-06-20  2:27 UTC (permalink / raw)
  To: emacs-devel

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

HEAD has been broken for me for a few days, failing to configure with:

	config.status: error: cannot find input file: `src/emacs-module.h.in’

I’m not sure when this started; I noticed recently that the configure machinery had changed, had some free time, and decided to do a distclean and bootstrap. ./autogen.sh asked me to rerun ./autogen.sh git, which was fine, but configure failed near the end, unable to find the above file. I then tried again with —without-modules, to no avail.

A little digging suggests that this commit is related:

commit c66a7cce17ac4b9cde6bf49232aaa59c1c73404e
Author: Philipp Stephani <phst@google.com>
Date:   Sat Jun 17 19:12:45 2017 +0200

    emacs-module.h: Create emacs_env_26

    This was part of the original design of the module
    API (https://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00960.html),
    but I didn't take it into account when adding the should_quit
    function.

    Instead of duplicating the environment fields or using the C
    preprocessor, use configure to build emacs-module.h.

    * configure.ac: Expand emacs-module.h template.

Digging into that commit suggests that the file was intentionally removed from autoconf control, but I’m not familiar enough with AC to be able to extricate it myself reasonably; I was able to hack it out enough to get emacs to build. I suspect that the problem won’t come up until without a bootstrap or deeper clean.

Hope that helps,
~Chad


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

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

end of thread, other threads:[~2021-07-22 22:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-22 20:17 Problems building master on macOS Perry E. Metzger
2021-07-22 20:49 ` Lars Ingebrigtsen
2021-07-22 21:04   ` Perry E. Metzger
2021-07-22 22:06     ` Daniel Martín
  -- strict thread matches above, loose matches on Subject: below --
2017-06-20  2:27 Chad Brown
2017-06-20  2:47 ` Ken Raeburn
2017-06-20 18:57 ` Paul Eggert
2017-06-21  6:42   ` Chad Brown

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.