GNU bug report logs - #24525
autogen.sh fails in mingw64

Previous Next

Package: emacs;

Reported by: Vincent Semeria <vincent.semeria <at> gmail.com>

Date: Sat, 24 Sep 2016 12:13:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24525 in the body.
You can then email your comments to 24525 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#24525; Package emacs. (Sat, 24 Sep 2016 12:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Semeria <vincent.semeria <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 24 Sep 2016 12:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vincent Semeria <vincent.semeria <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: autogen.sh fails in mingw64
Date: Sat, 24 Sep 2016 14:10:50 +0200
[Message part 1 (text/plain, inline)]
Hello,

I try to build branch emacs-25 (commit
f2819241bc93b641f13e1a04f3520fadb8ed53a8) on Windows 10. Following the
instructions of file nt/INSTALL.W64, autogen.sh gives me :

INCONNU <at> DESKTOP-RU9MU9H MINGW64 /c/emacs-git
$ ./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
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools.
Running 'autoreconf -fi -I m4' ...
' is already registered with AC_CONFIG_FILES.
../../lib/autoconf/status.m4:288: AC_CONFIG_FILES is expanded from...
configure.ac:5374: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.15: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

It says my system has the required tools but fails to build anyway. Also
the error gives me litlle information about what went wrong.

Thanks,
Vincent
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24525; Package emacs. (Sat, 24 Sep 2016 13:02:01 GMT) Full text and rfc822 format available.

Message #8 received at 24525 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vincent Semeria <vincent.semeria <at> gmail.com>
Cc: 24525 <at> debbugs.gnu.org
Subject: Re: bug#24525: autogen.sh fails in mingw64
Date: Sat, 24 Sep 2016 16:01:33 +0300
> From: Vincent Semeria <vincent.semeria <at> gmail.com>
> Date: Sat, 24 Sep 2016 14:10:50 +0200
> 
> I try to build branch emacs-25 (commit f2819241bc93b641f13e1a04f3520fadb8ed53a8) on Windows 10.
> Following the instructions of file nt/INSTALL.W64, autogen.sh gives me :
> 
> INCONNU <at> DESKTOP-RU9MU9H MINGW64 /c/emacs-git
> $ ./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
> Checking for automake (need at least version 1.11)...
> ok
> Your system has the required tools.
> Running 'autoreconf -fi -I m4' ...
> ' is already registered with AC_CONFIG_FILES.
> ../../lib/autoconf/status.m4:288: AC_CONFIG_FILES is expanded from...
> configure.ac:5374: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> aclocal-1.15: error: echo failed with exit status: 1
> autoreconf: aclocal failed with exit status: 1

Is it possible that you are being hit by this issue, mentioned in
INSTALL.W64:

  The autocrlf feature of Git may interfere with the configure file, so it is
  best to disable this feature by running the command:

    git config core.autocrlf false




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 25 Sep 2016 15:31:01 GMT) Full text and rfc822 format available.

Notification sent to Vincent Semeria <vincent.semeria <at> gmail.com>:
bug acknowledged by developer. (Sun, 25 Sep 2016 15:31:02 GMT) Full text and rfc822 format available.

Message #13 received at 24525-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vincent Semeria <vincent.semeria <at> gmail.com>
Cc: 24525-done <at> debbugs.gnu.org
Subject: Re: bug#24525: autogen.sh fails in mingw64
Date: Sun, 25 Sep 2016 18:31:10 +0300
> From: Vincent Semeria <vincent.semeria <at> gmail.com>
> Date: Sun, 25 Sep 2016 17:14:09 +0200
> 
> Indeed that was the problem, thanks ! I now have compiled a 64-bit emacs-25.

OK, I will close the bug then.

> We might want to add a clearer warning at the beginning of autogen.sh when the autocrlf is not configured
> properly.

I agree it's a good idea.

> Also I noticed I cannot graphically open PDF files with it. Is there a compilation flag to activate for that ?

AFAIK, this requires Ghostscript to be installed, see doc-view.el.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Oct 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.