From: c.buhtz@posteo.jp
To: 62482@debbugs.gnu.org
Subject: bug#62482: Unclear configure errors about "gl_PROG_CC_C99" and "gl_EARLY"
Date: Mon, 27 Mar 2023 08:55:14 +0000 [thread overview]
Message-ID: <a965dd44a1889318c1d4def51b8a0e35@posteo.de> (raw)
Hello,
beside I'm interested into how to solve that problem (what is IMHO
off-topic on that list) this message main intention is a bug report to
improve the output of a configure script.
I have this two errors (?) running "configure". It is unclear what they
are mean. Even if I look into the "configure" script the meaning is
unclear to me.
./configure: line 5063: gl_PROG_CC_C99: command not found
./configure: line 5196: gl_EARLY: command not found
Please improve the output of the script to make it easier to understand
it for the users, to prevent further support questions and lower the
workload for emacs "support channels".
To reproduce:
I cloned from git and switch to "emacs-29" branch. The machine is a
Raspberry Pi4 with Debian 11 (pure Debian, not rasbian).
Because the configure script is missing (bug-report exists) I checked
the content of "configure.ac". It points out to use "autoconf" to
generate such a script. I did.
$ autoconf
configure.ac:55: error: possibly undefined macro: AS_ECHO
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.ac:1777: error: possibly undefined macro: m4_default
Two errors are there. I don't understand. But a "./configure" was
created. So I tried.
$ ./configure
checking for xcrun... no
checking for GNU Make... make
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
./configure: line 5063: gl_PROG_CC_C99: command not found
checking whether gcc and cc understand -c and -o together... yes
./configure: line 5196: gl_EARLY: command not found
checking whether gcc accepts -g3 -O2... yes
checking whether the compiler is clang... no
checking how to run the C preprocessor... gcc -E
./configure: line 5555: syntax error near unexpected token `-Wno-switch'
./configure: line 5555: ` gl_WARN_ADD(-Wno-switch)'
next reply other threads:[~2023-03-27 8:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-27 8:55 c.buhtz [this message]
2023-03-27 13:15 ` bug#62482: Acknowledgement (Unclear configure errors about "gl_PROG_CC_C99" and "gl_EARLY") GNU bug Tracking System
2023-03-30 6:18 ` Jean Louis
2023-03-27 13:23 ` bug#62482: Unclear configure errors about "gl_PROG_CC_C99" and "gl_EARLY" Andreas Schwab
2023-03-27 13:25 ` Gregory Heytings
2023-03-27 13:54 ` Eli Zaretskii
2023-09-03 10:37 ` Stefan Kangas
2023-09-03 10:38 ` bug#62482: closed (Re: bug#62482: Unclear configure errors about "gl_PROG_CC_C99" and "gl_EARLY") GNU bug Tracking System
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a965dd44a1889318c1d4def51b8a0e35@posteo.de \
--to=c.buhtz@posteo.jp \
--cc=62482@debbugs.gnu.org \
--cc=bug-gnu-emacs@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 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).