From: Arthur Miller <arthur.miller@live.com>
To: emacs-devel@gnu.org
Subject: autogen.sh and configure errors
Date: Sat, 02 Jan 2021 15:12:24 +0100 [thread overview]
Message-ID: <AM0PR06MB6577CBF0B437473D3010371896D40@AM0PR06MB6577.eurprd06.prod.outlook.com> (raw)
I just pulled Emacs and got some configure errors. So I removed my old
sources, cloned new from Savannah and tried to configure again and I am
getting same errors:
#+begin_src sh
2021-01-02 14:50:37 ⌚ pascal in ~/repos
○ → rm -fr ./emacs
2021-01-02 14:50:51 ⌚ pascal in ~/repos
○ → git clone https://git.savannah.gnu.org/git/emacs.git
Klonar till "emacs"...
remote: Counting objects: 921420, done.
remote: Compressing objects: 100% (164155/164155), done.
remote: Total 921420 (delta 758106), reused 919022 (delta 756030)
Tar emot objekt: 100% (921420/921420), 301,55 MiB | 9,97 MiB/s, klart.
Analyserar delta: 100% (758106/758106), klart.
2021-01-02 14:53:22 ⌚ pascal in ~/repos
○ → cd emacs
2021-01-02 14:53:38 ⌚ pascal in ~/repos/emacs
± |master ✓| → ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65) ... ok
Your system has the required tools.
Building aclocal.m4 ...
Running 'autoreconf -fi -I m4' ...
configure.ac:1771: warning: Checking for headers with the preprocessor is
configure.ac:1771: deprecated. Specify prerequisite code to AC_CHECK_HEADER
configure.ac:1771: instead of using fourth argument `-'. (Many headers need
configure.ac:1771: no prerequisites. If you truly need to test whether
configure.ac:1771: something passes the preprocessor but not the compiler,
configure.ac:1771: use AC_PREPROC_IFELSE.)
./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
configure.ac:1771: the top level
configure.ac:1772: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:1772: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:1772: the top level
configure.ac:4708: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:4708: You should run autoupdate.
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
configure.ac:4708: the top level
Configuring local git repository...
'.git/config' -> '.git/config.~1~'
git config transfer.fsckObjects 'true'
git config diff.cpp.xfuncname '!^[ \t]*[A-Za-z_][A-Za-z_0-9]*:[[:space:]]*($|/[/*])
^((::[[:space:]]*)?[A-Za-z_][A-Za-z_0-9]*[[:space:]]*\(.*)$
^((#define[[:space:]]|DEFUN).*)$'
git config diff.elisp.xfuncname '^\([^[:space:]]*def[^[:space:]]+[[:space:]]+([^()[:space:]]+)'
git config diff.m4.xfuncname '^((m4_)?define|A._DEFUN(_ONCE)?)\([^),]*'
git config diff.make.xfuncname '^([$.[:alnum:]_].*:|[[:alnum:]_]+[[:space:]]*([*:+]?[:?]?|!?)=|define .*)'
git config diff.shell.xfuncname '^([[:space:]]*[[:alpha:]_][[:alnum:]_]*[[:space:]]*\(\)|[[:alpha:]_][[:alnum:]_]*=)'
git config diff.texinfo.xfuncname '^@node[[:space:]]+([^,[:space:]][^,]+)'
Installing git hooks...
'build-aux/git-hooks/commit-msg' -> '.git/hooks/commit-msg'
'build-aux/git-hooks/pre-commit' -> '.git/hooks/pre-commit'
'build-aux/git-hooks/prepare-commit-msg' -> '.git/hooks/prepare-commit-msg'
'.git/hooks/applypatch-msg.sample' -> '.git/hooks/applypatch-msg'
'.git/hooks/pre-applypatch.sample' -> '.git/hooks/pre-applypatch'
You can now run './configure'.
2021-01-02 14:53:45 ⌚ pascal in ~/repos/emacs
± |master ✓| → autoupdate
configure.ac:1772: warning: Update your code to rely only on HAVE_SYS_TIME_H,
then remove this warning and the obsolete code below it.
All current systems provide time.h; it need not be checked for.
Not all systems provide sys/time.h, but those that do, all allow
you to include it and time.h simultaneously.
2021-01-02 14:55:14 ⌚ pascal in ~/repos/emacs
± |master U:1 ✗| → ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version ) ... unable to check
Building Emacs from the repository requires the following specialized programs:
autoconf (minimum version )
Your system seems to be missing the following tool(s):
autoconf (unable to check)
If you think you have the required tools, please add them to your PATH
and re-run this script.
Otherwise, please try installing them.
On systems using rpm and yum, try: "yum install PACKAGE"
On systems using dpkg and apt, try: "apt-get install PACKAGE"
Then re-run this script.
If you do not have permission to do this, or if the version provided
by your system is too old, it is normally straightforward to build
these packages from source. You can find the sources at:
https://ftp.gnu.org/gnu/PACKAGE/
Download the package (make sure you get at least the minimum version
listed above), extract it using tar, then run configure, make,
make install. Add the installation directory to your PATH and re-run
this script.
If you know that the required versions are in your PATH, but this
script has made an error, then you can simply re-run this script with
the --no-check option.
Please report any problems with this script to bug-gnu-emacs@gnu.org .
2021-01-02 14:55:26 ⌚ pascal in ~/repos/emacs
± |master U:1 ✗| → autoconf --version
autoconf (GNU Autoconf) 2.70
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>, <https://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
2021-01-02 14:56:21 ⌚ pascal in ~/repos/emacs
± |master U:1 ✗| → ./autogen.sh --no-check
Running 'autoreconf -fi -I m4' ...
configure.ac:1771: warning: Checking for headers with the preprocessor is
configure.ac:1771: deprecated. Specify prerequisite code to AC_CHECK_HEADER
configure.ac:1771: instead of using fourth argument `-'. (Many headers need
configure.ac:1771: no prerequisites. If you truly need to test whether
configure.ac:1771: something passes the preprocessor but not the compiler,
configure.ac:1771: use AC_PREPROC_IFELSE.)
./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
configure.ac:1771: the top level
configure.ac:1772: warning: Update your code to rely only on HAVE_SYS_TIME_H,
configure.ac:1772: then remove this warning and the obsolete code below it.
configure.ac:1772: All current systems provide time.h; it need not be checked for.
configure.ac:1772: Not all systems provide sys/time.h, but those that do, all allow
configure.ac:1772: you to include it and time.h simultaneously.
You can now run './configure'.
± |master U:1 ✗| → git checkout feature/native-comp
error: Dina lokala ändringar av följande filer skulle skrivas över av utcheckning:
configure.ac
Checka in dina ändringar eller använd "stash" innan du byter gren.
Avbryter
#+end_src
As seen when I try to change to native-comp branch it says configure.ac is
changed; I didn't change it.
Finally after stashing and runing autoge.sh, I get followin when I run
configure:
2021-01-02 15:06:47 ⌚ pascal in ~/repos/emacs
± |feature/native-comp {1} ✓| → ./configure –-without-makeinfo –-with-cairo –-without-modules –-without-compress-install –-with-x-toolkit=no –-with-gnutls –-without-gconf –-without-xwidgets –-without-toolkit-scroll-bars -–without-xaw3d –-without-gsettings –-with-mailutils –-with-nativecomp --with-json --without-included-regex --without-libgmp CFLAGS='-O3 -mtune=native -march=native'
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-without-makeinfo
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-with-cairo
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-without-modules
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-without-compress-install
configure: error: invalid variable name: `–-with-x-toolkit'
My system or what am I doing wrong? I see nobody else complains so I
guess it is something on my side :-).
Linux pascal 5.10.3-arch1-1 #1 SMP PREEMPT Sun, 27 Dec 2020 10:50:46 +0000 x86_64 GNU/Linux
next reply other threads:[~2021-01-02 14:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-02 14:12 Arthur Miller [this message]
2021-01-02 14:23 ` autogen.sh and configure errors Eli Zaretskii
2021-01-02 14:39 ` Andreas Schwab
2021-01-02 14:43 ` Eli Zaretskii
2021-01-02 14:58 ` Arthur Miller
2021-01-02 15:07 ` Herbert J. Skuhra
2021-01-02 15:11 ` Arthur Miller
2021-01-02 15:46 ` Arthur Miller
2021-01-02 14:38 ` Andreas Schwab
2021-01-02 14:54 ` Arthur Miller
2021-01-02 15:54 ` Herbert J. Skuhra
2021-01-02 16:40 ` arthur miller
2021-01-02 15:59 ` tomas
2021-01-02 16:39 ` arthur miller
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=AM0PR06MB6577CBF0B437473D3010371896D40@AM0PR06MB6577.eurprd06.prod.outlook.com \
--to=arthur.miller@live.com \
--cc=emacs-devel@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).