From unknown Thu Aug 14 17:28:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24525 <24525@debbugs.gnu.org> To: bug#24525 <24525@debbugs.gnu.org> Subject: Status: autogen.sh fails in mingw64 Reply-To: bug#24525 <24525@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:28:31 +0000 retitle 24525 autogen.sh fails in mingw64 reassign 24525 emacs submitter 24525 Vincent Semeria severity 24525 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 24 08:12:06 2016 Received: (at submit) by debbugs.gnu.org; 24 Sep 2016 12:12:06 +0000 Received: from localhost ([127.0.0.1]:33968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnloM-0005Rg-HQ for submit@debbugs.gnu.org; Sat, 24 Sep 2016 08:12:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnloK-0005RC-TO for submit@debbugs.gnu.org; Sat, 24 Sep 2016 08:12:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnloE-0005Dv-I9 for submit@debbugs.gnu.org; Sat, 24 Sep 2016 08:11:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID,WEIRD_PORT autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnloE-0005D2-Eb for submit@debbugs.gnu.org; Sat, 24 Sep 2016 08:11:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnloB-0002zQ-TG for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 08:11:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnlo8-00059c-Nj for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 08:11:55 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:34999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnlo8-00058n-Eb for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 08:11:52 -0400 Received: by mail-lf0-f53.google.com with SMTP id l131so110551759lfl.2 for ; Sat, 24 Sep 2016 05:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=lkQboMcAryRc9UUq7NPW9MHuX6xVQaDGJ0knbjvBjBk=; b=QAIjPMsnWPQnkPbMWpLFkQtcNK6p1T3V+e2gJtHiRCK5swT97elFm40SQHNCm6YZMG vR5EKaxeqF2uagV8Y1WTOqwuWgC5TF+98+9MaC3yCrXm3cLDAaqJR7I1So9aTFINHqgX riouq90qWDulE9lw/F2vkA4n5oH3g/CIYV94TciX3L0Ra8f7SYtX7JPypG/4OjMv3i+O dvhmdT3VR1pHhN0emtDONH8K9je/NlQ5af6hZCrtwWhgk4jCIFhmqPyWiOYI3KhlpADR TGjmnc+0s5xP4KftyTrwpaDa8wxQQlAQ2oOnRvcB88DhGSTwQNLWdwZ0NMZjFagbP8V+ mXcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lkQboMcAryRc9UUq7NPW9MHuX6xVQaDGJ0knbjvBjBk=; b=hDyFaJmklILwWFx9bdnMiZcVgKpQyu57VBswj6mYOd7AP0yNQqRJej2VBikUP5L+5O +9x+1VEvD10TOMJca9RbfJQV7SlmQMSO+ZHeoUllLQd1KLFRq1pe2cRK8eKPmX8AiG5J Jjl54jKi94OW3TiSnLV1mJAjN7ez024R0A5sXTb9z65BPwQcB4+gQfzAaUtco1Qriudd +od9MI+2SuGcGZxE+CaTK3eZmfrZbn5PgTacRpnB2IOVS5Xr92pOqq6LqfuhS/LJVwqN JK7WHKzBybD12UzGe/ZQXBNuNOfF3cIjS5y2dtxLXCXe1m53nb2OdcU2sO96k82o4qXY rh7g== X-Gm-Message-State: AE9vXwMHbA/EpgIB188NstNeZVc0P3drdM3z1ADYXExCT4gXckm11a3d1l7ZxbB+xw/MuAgkIxLKa9edjl+c+Q== X-Received: by 10.25.22.199 with SMTP id 68mr4158740lfw.128.1474719051067; Sat, 24 Sep 2016 05:10:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.66.151 with HTTP; Sat, 24 Sep 2016 05:10:50 -0700 (PDT) From: Vincent Semeria Date: Sat, 24 Sep 2016 14:10:50 +0200 Message-ID: Subject: autogen.sh fails in mingw64 To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a113c9ea22eb78d053d3fc943 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) --001a113c9ea22eb78d053d3fc943 Content-Type: text/plain; charset=UTF-8 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@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 --001a113c9ea22eb78d053d3fc943 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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@DESKTOP-RU9MU9H MINGW64 /c/emacs-git
$ ./= autogen.sh
Checking whether you have the necessary tools...
(Read INS= TALL.REPO for more details on building Emacs)
Checking for autoco= nf (need at least version 2.65)...
ok
Checking for automake (need at = least version 1.11)...
ok
Your system has the required tools.
Runn= ing 'autoreconf -fi -I m4' ...
' is already registered with = AC_CONFIG_FILES.
../../lib/autoconf/status.m4:288: AC_CONFIG_FILES is ex= panded from...
configure.ac:5374: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
acl= ocal-1.15: error: echo failed with exit status: 1
autoreconf: aclocal fa= iled with exit status: 1


Vincent
--001a113c9ea22eb78d053d3fc943-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 24 09:01:28 2016 Received: (at 24525) by debbugs.gnu.org; 24 Sep 2016 13:01:28 +0000 Received: from localhost ([127.0.0.1]:33985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnma8-0006by-1t for submit@debbugs.gnu.org; Sat, 24 Sep 2016 09:01:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnma6-0006bm-Pp for 24525@debbugs.gnu.org; Sat, 24 Sep 2016 09:01:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnmZy-0000kV-J9 for 24525@debbugs.gnu.org; Sat, 24 Sep 2016 09:01:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnmZy-0000kM-G5; Sat, 24 Sep 2016 09:01:18 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1681 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bnmZw-0000SK-Tp; Sat, 24 Sep 2016 09:01:18 -0400 Date: Sat, 24 Sep 2016 16:01:33 +0300 Message-Id: <831t09cuz6.fsf@gnu.org> From: Eli Zaretskii To: Vincent Semeria In-reply-to: (message from Vincent Semeria on Sat, 24 Sep 2016 14:10:50 +0200) Subject: Re: bug#24525: autogen.sh fails in mingw64 References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 24525 Cc: 24525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) > From: Vincent Semeria > 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@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 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 11:30:50 2016 Received: (at 24525-done) by debbugs.gnu.org; 25 Sep 2016 15:30:50 +0000 Received: from localhost ([127.0.0.1]:35706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boBOE-0003ft-C8 for submit@debbugs.gnu.org; Sun, 25 Sep 2016 11:30:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boBOC-0003fh-Hl for 24525-done@debbugs.gnu.org; Sun, 25 Sep 2016 11:30:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boBO3-0003Ie-AS for 24525-done@debbugs.gnu.org; Sun, 25 Sep 2016 11:30:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boBO3-0003Ia-7D; Sun, 25 Sep 2016 11:30:39 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3335 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1boBO2-0007l5-5g; Sun, 25 Sep 2016 11:30:38 -0400 Date: Sun, 25 Sep 2016 18:31:10 +0300 Message-Id: <838tugatdt.fsf@gnu.org> From: Eli Zaretskii To: Vincent Semeria In-reply-to: (message from Vincent Semeria on Sun, 25 Sep 2016 17:14:09 +0200) Subject: Re: bug#24525: autogen.sh fails in mingw64 References: <831t09cuz6.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 24525-done Cc: 24525-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) > From: Vincent Semeria > 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. From unknown Thu Aug 14 17:28:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 24 Oct 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator