emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems building master on macOS


From: Chad Brown
Subject: Problems building master on macOS
Date: Mon, 19 Jun 2017 19:27:13 -0700

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]