From unknown Mon Aug 18 18:02:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7 Resent-From: Du Yanning Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 May 2012 07:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11402 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11402@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133611726827330 (code B ref -1); Fri, 04 May 2012 07:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 May 2012 07:41:08 +0000 Received: from localhost ([127.0.0.1]:35624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQD8V-00076k-CH for submit@debbugs.gnu.org; Fri, 04 May 2012 03:41:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49188) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQD3d-0006zg-Pi for submit@debbugs.gnu.org; Fri, 04 May 2012 03:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQD1s-0002SK-Hd for submit@debbugs.gnu.org; Fri, 04 May 2012 03:34:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD1s-0002RR-Bi for submit@debbugs.gnu.org; Fri, 04 May 2012 03:34:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD1m-0007ZY-ST for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:34:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQD1h-0002CJ-SK for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:34:10 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:51596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD1h-00029M-Ir for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:34:05 -0400 Received: by bkcjm19 with SMTP id jm19so2496787bkc.0 for ; Fri, 04 May 2012 00:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=L40OIPH8XhHzG5rVm543ywIo0ouQwVPGOTdsKM8iohQ=; b=VULT3VqHOoqz4snUDSlKJR7xC/76yPJwy1XbQF433I9KtCYX/DRcu8UPyJt2S6Xa7I /j4R1kO1BFq7oIuN9rlhIrNaxhFJ/z7VAIaE1ZGJSoR06ExvhY44GvWX7NQp9E+Qrsz/ b0Y2FiOrxblJ1y/s/VWhGVIoGuxavFzSg03r0BvRqUMvKygocXeKdzpHQw7gmmVPcEir Dtg+qLCEyViBJ8fToYoaeTxTdVL4QfCYXQWv1so2cWH9klxy6iTp2qtRB6gqUQ7Vd/Ux 6ab/2n/e26zaTdDWrK536CO51StUUHQFhSFj3DNKrdUCwtJ37PvbGxXvWZFZ7lzq5M+1 6MWw== MIME-Version: 1.0 Received: by 10.204.150.2 with SMTP id w2mr1822355bkv.101.1336116843453; Fri, 04 May 2012 00:34:03 -0700 (PDT) Received: by 10.204.116.131 with HTTP; Fri, 4 May 2012 00:34:03 -0700 (PDT) Date: Fri, 4 May 2012 15:34:03 +0800 Message-ID: From: Du Yanning Content-Type: multipart/alternative; boundary=000e0ce04166d51e6f04bf30f131 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Mailman-Approved-At: Fri, 04 May 2012 03:41:06 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --000e0ce04166d51e6f04bf30f131 Content-Type: text/plain; charset=ISO-8859-1 Open a Command Prompt window, then f:\> cd emacs-24.0.96/nt f:\build-emacs\emacs-24.0.96\ nt> configure.bat --no-debug --cflags -ID:/gnuwin32/include --cflags -IC:/gnuwin32/src/lib --without-png f:\build-emacs\emacs-24.0.96\nt> make After a while, it stopped. The last few lines of the output said: cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. f:\build-emacs\emacs-24.0.96\src> It seems that cmd /c did not quit and the current directory has been changed from nt to src. If you press Ctrl+C now, you will get: f:\build-emacs\emacs-24.0.96\src>make[1]: *** [gl-stamp] Interrupt make: *** [all-other-dirs-gmake] Interrupt F:\build-emacs\emacs-24.0.96-mingw\nt> I found that in src/makefile.w32-in of emacs-24.0.96, there is a line that emacs 23 does NOT have: cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h" How can I cope with this problem? Thank you all. --000e0ce04166d51e6f04bf30f131 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Open a Command Prompt window, then

f:\> cd emacs-24.0.96/nt
f:= \build-emacs\emacs-24.0.96\
nt> configure.bat --no-debug = --cflags -ID:/gnuwin32/include --cflags -IC:/gnuwin32/src/lib --without-png=
f:\build-emacs\emacs-24.0.96\nt> make

After a while, it stopped. The last few lines of the output said:

=A0=A0=A0=A0 cmd /c "fc /b gl-tmp globals.h >nul 2>&1 = || cp -f gl-tmp globals.h"
=A0=A0=A0=A0 Microsoft Windows [Version = 6.1.7601]
=A0=A0=A0=A0 Copyright (c) 2009 Microsoft Corporation.=A0 All rights reserv= ed.
=A0=A0=A0=A0 f:\build-emacs\emacs-24.0.96\src>

It seems th= at cmd /c did not quit and the current directory has been changed from nt t= o src.
If you press Ctrl+C now, you will get:

f:\build-emacs\emacs-24.0.96\src>make[1]: *** [gl-stamp] Interruptmake: *** [all-other-dirs-gmake] Interrupt
F:\build-emacs\emacs-24.0.9= 6-mingw\nt>

I found that in src/makefile.w32-in of emacs-24.0.96,= there is a line that emacs 23 does NOT have:
cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp glo= bals.h"

How can I cope with this problem?

Thank you all.=
--000e0ce04166d51e6f04bf30f131-- From unknown Mon Aug 18 18:02:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 May 2012 09:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11402 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Du Yanning Cc: 11402@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 11402-submit@debbugs.gnu.org id=B11402.13361235494057 (code B ref 11402); Fri, 04 May 2012 09:26:01 +0000 Received: (at 11402) by debbugs.gnu.org; 4 May 2012 09:25:49 +0000 Received: from localhost ([127.0.0.1]:35726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQElo-00013O-T4 for submit@debbugs.gnu.org; Fri, 04 May 2012 05:25:49 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:36917) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQElm-00013A-Ed for 11402@debbugs.gnu.org; Fri, 04 May 2012 05:25:47 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M3H00600RATXO00@a-mtaout21.012.net.il> for 11402@debbugs.gnu.org; Fri, 04 May 2012 12:23:48 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3H006WNRFOTY70@a-mtaout21.012.net.il>; Fri, 04 May 2012 12:23:48 +0300 (IDT) Date: Fri, 04 May 2012 12:21:46 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <837gws713p.fsf@gnu.org> References: X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Fri, 4 May 2012 15:34:03 +0800 > From: Du Yanning > > Open a Command Prompt window, then > > f:\> cd emacs-24.0.96/nt > f:\build-emacs\emacs-24.0.96\ > nt> configure.bat --no-debug --cflags -ID:/gnuwin32/include --cflags > -IC:/gnuwin32/src/lib --without-png > f:\build-emacs\emacs-24.0.96\nt> make > > After a while, it stopped. The last few lines of the output said: > > > cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > f:\build-emacs\emacs-24.0.96\src> Are you using the MSYS Bash shell? If so, this configuration is not supported, see nt/INSTALL. (MSYS Bash has its own ideas about what "/c" means, so it changes it to something that confuses cmd.exe.) > How can I cope with this problem? Remove the directory where MSYS Bash lives from Path, or rename sh.exe to something else, then try again. If indeed this is caused by MSYS, I will close this bug. From unknown Mon Aug 18 18:02:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 May 2012 10:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11402 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Du Yanning Cc: 11402@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 11402-submit@debbugs.gnu.org id=B11402.133612764913036 (code B ref 11402); Fri, 04 May 2012 10:35:01 +0000 Received: (at 11402) by debbugs.gnu.org; 4 May 2012 10:34:09 +0000 Received: from localhost ([127.0.0.1]:35783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQFpx-0003OD-3F for submit@debbugs.gnu.org; Fri, 04 May 2012 06:34:09 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:58086) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQFpv-0003NV-6Z for 11402@debbugs.gnu.org; Fri, 04 May 2012 06:34:08 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M3H00200UI29600@a-mtaout22.012.net.il> for 11402@debbugs.gnu.org; Fri, 04 May 2012 13:32:16 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3H0011NULSMWG0@a-mtaout22.012.net.il>; Fri, 04 May 2012 13:32:16 +0300 (IDT) Date: Fri, 04 May 2012 13:30:15 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <834nrw6xxk.fsf@gnu.org> References: <837gws713p.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Fri, 4 May 2012 17:37:44 +0800 > From: Du Yanning [Please keep the bug address on the CC list, so that this discussion is logged by the bug tracker.] > After I renamed MSYS sh.exe to aaash.exe and ran make, it said: > > F:\build-emacs\emacs-24.0.96\nt>make > make: /bin/sh: Command not found > make: /bin/sh: Command not found > Using /bin/sh as shell. > mkdir "oo-spd" > make: /bin/sh: Command not found > make: [oo-spd] Error 127 (ignored) > mkdir "oo-spd/i386" > make: /bin/sh: Command not found > make: [stamp_BLD] Error 127 (ignored) > echo oo-spd/i386 > stamp_BLD > make: /bin/sh: Command not found > make: *** [stamp_BLD] Error 127 > > It seems that make need sh.exe. > How can I correct it? My crystal ball says your 'make' is an MSYS 'make'. If so, install the MinGW 'make' instead, it can work without sh.exe. (You will probably need MinGW or GnuWin32 ports of cp, rm and mv as well, they are part of the Coreutils package.) In general, when building Emacs, it is much better to remove MSYS from Path, because MSYS tools are generally intended to be run only as part of configuring and building Unix and GNU/Linux packages. By contrast, the Windows port of Emacs should be built using native Windows tools. From unknown Mon Aug 18 18:02:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7 Resent-From: Du Yanning Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 May 2012 13:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11402 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 11402@debbugs.gnu.org Received: via spool by 11402-submit@debbugs.gnu.org id=B11402.13361391064307 (code B ref 11402); Fri, 04 May 2012 13:46:01 +0000 Received: (at 11402) by debbugs.gnu.org; 4 May 2012 13:45:06 +0000 Received: from localhost ([127.0.0.1]:35950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQIok-00017Q-9U for submit@debbugs.gnu.org; Fri, 04 May 2012 09:45:06 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:40756) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQIoi-00016i-In for 11402@debbugs.gnu.org; Fri, 04 May 2012 09:45:05 -0400 Received: by bkty8 with SMTP id y8so2254667bkt.3 for <11402@debbugs.gnu.org>; Fri, 04 May 2012 06:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FqsdcYzP/bbHWlLlXny8gLsunKVmWW0IiNqbA7jOFzM=; b=HKTf6lanYV7XBPyH7swBH1w/k+TghIEdNiUHR+U9Z8FHt9fkAv6Upb15qgTqoya1sQ YC6CvOl18iCWOPahY744grIGgTg5ukTVKmTh5fBbtLOW4WX+khkzFemzktYiWnwi66E+ 6JukuneB84Ij4kM7Sj+RM+/Vy5JeOWKxZ8MMN2XJ8n9pycLv34D7uBN0/fVhrpEWhGjb i/181Jn6jgvDxjzMdZWHX5S7oeCSZ9KPsitwEEcjYOwZYYWcQV8TOFjiERo7FCtjJGJC 5Moaat/ypEFT3B8pvgXw1vjpT6R2eUcWFrIjV068RkXd86exX02zpEwSZjxQ2WMGWdJb JcHA== MIME-Version: 1.0 Received: by 10.204.150.2 with SMTP id w2mr2227868bkv.101.1336138994310; Fri, 04 May 2012 06:43:14 -0700 (PDT) Received: by 10.204.116.131 with HTTP; Fri, 4 May 2012 06:43:14 -0700 (PDT) In-Reply-To: <834nrw6xxk.fsf@gnu.org> References: <837gws713p.fsf@gnu.org> <834nrw6xxk.fsf@gnu.org> Date: Fri, 4 May 2012 21:43:14 +0800 Message-ID: From: Du Yanning Content-Type: multipart/alternative; boundary=000e0ce04166205cd304bf361a15 X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --000e0ce04166205cd304bf361a15 Content-Type: text/plain; charset=ISO-8859-1 I rename MSYS sh.exe to aaash.exe, and use mingw32-make.exe instead of MSYS make.exe. This time it works fine. Thank you. On Fri, May 4, 2012 at 6:30 PM, Eli Zaretskii wrote: > > Date: Fri, 4 May 2012 17:37:44 +0800 > > From: Du Yanning > > [Please keep the bug address on the CC list, so that this discussion > is logged by the bug tracker.] > > > After I renamed MSYS sh.exe to aaash.exe and ran make, it said: > > > > F:\build-emacs\emacs-24.0.96\nt>make > > make: /bin/sh: Command not found > > make: /bin/sh: Command not found > > Using /bin/sh as shell. > > mkdir "oo-spd" > > make: /bin/sh: Command not found > > make: [oo-spd] Error 127 (ignored) > > mkdir "oo-spd/i386" > > make: /bin/sh: Command not found > > make: [stamp_BLD] Error 127 (ignored) > > echo oo-spd/i386 > stamp_BLD > > make: /bin/sh: Command not found > > make: *** [stamp_BLD] Error 127 > > > > It seems that make need sh.exe. > > How can I correct it? > > My crystal ball says your 'make' is an MSYS 'make'. If so, install > the MinGW 'make' instead, it can work without sh.exe. (You will > probably need MinGW or GnuWin32 ports of cp, rm and mv as well, they > are part of the Coreutils package.) > > In general, when building Emacs, it is much better to remove MSYS from > Path, because MSYS tools are generally intended to be run only as part > of configuring and building Unix and GNU/Linux packages. By contrast, > the Windows port of Emacs should be built using native Windows tools. > --000e0ce04166205cd304bf361a15 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I rename MSYS sh.exe to aaash.exe, and use mingw32-make.exe instead of MSYS= make.exe.
This time it works fine.
Thank you.

On Fri, May 4, 2012 at 6:30 PM, Eli Zaretskii <eliz@gnu.org>= wrote:
> Date: Fri, 4 May 2012 17:37:44 +0800 > From: Du Yanning <duyanning@= gmail.com>

[Please keep the bug address on the CC list, so that this discussion
is logged by the bug tracker.]

> After I renamed MSYS sh.exe to aaash.exe and ran make, it said:
>
> F:\build-emacs\emacs-24.0.96\nt>make
> make: /bin/sh: Command not found
> make: /bin/sh: Command not found
> Using /bin/sh as shell.
> mkdir "oo-spd"
> make: /bin/sh: Command not found
> make: [oo-spd] Error 127 (ignored)
> mkdir "oo-spd/i386"
> make: /bin/sh: Command not found
> make: [stamp_BLD] Error 127 (ignored)
> echo oo-spd/i386 > stamp_BLD
> make: /bin/sh: Command not found
> make: *** [stamp_BLD] Error 127
>
> It seems that make need sh.exe.
> How can I correct it?

My crystal ball says your 'make' is an MSYS 'make'. = =A0If so, install
the MinGW 'make' instead, it can work without sh.exe. =A0(You will<= br> probably need MinGW or GnuWin32 ports of cp, rm and mv as well, they
are part of the Coreutils package.)

In general, when building Emacs, it is much better to remove MSYS from
Path, because MSYS tools are generally intended to be run only as part
of configuring and building Unix and GNU/Linux packages. =A0By contrast, the Windows port of Emacs should be built using native Windows tools.

--000e0ce04166205cd304bf361a15-- From unknown Mon Aug 18 18:02:08 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Du Yanning Subject: bug#11402: closed (Re: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7) Message-ID: References: <83zk9o58o4.fsf@gnu.org> X-Gnu-PR-Message: they-closed 11402 X-Gnu-PR-Package: emacs Reply-To: 11402@debbugs.gnu.org Date: Fri, 04 May 2012 14:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1336141442-7822-1" This is a multi-part message in MIME format... ------------=_1336141442-7822-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #11402: Problem while compiling emacs-24.0.96 using MinGW on Win7 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 11402@debbugs.gnu.org. --=20 11402: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11402 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1336141442-7822-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 11402-done) by debbugs.gnu.org; 4 May 2012 14:23:56 +0000 Received: from localhost ([127.0.0.1]:36150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQJQJ-00021u-SM for submit@debbugs.gnu.org; Fri, 04 May 2012 10:23:56 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:58654) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQJQH-00021c-2o for 11402-done@debbugs.gnu.org; Fri, 04 May 2012 10:23:54 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M3I00300558XX00@a-mtaout22.012.net.il> for 11402-done@debbugs.gnu.org; Fri, 04 May 2012 17:21:50 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3I0037958DU350@a-mtaout22.012.net.il>; Fri, 04 May 2012 17:21:49 +0300 (IDT) Date: Fri, 04 May 2012 17:21:15 +0300 From: Eli Zaretskii Subject: Re: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7 In-reply-to: X-012-Sender: halo1@inter.net.il To: Du Yanning Message-id: <83zk9o58o4.fsf@gnu.org> References: <837gws713p.fsf@gnu.org> <834nrw6xxk.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11402-done Cc: 11402-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Fri, 4 May 2012 21:43:14 +0800 > From: Du Yanning > Cc: 11402@debbugs.gnu.org > > I rename MSYS sh.exe to aaash.exe, and use mingw32-make.exe instead of MSYS > make.exe. > This time it works fine. Great! Closing the bug. ------------=_1336141442-7822-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 May 2012 07:41:08 +0000 Received: from localhost ([127.0.0.1]:35624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQD8V-00076k-CH for submit@debbugs.gnu.org; Fri, 04 May 2012 03:41:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49188) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQD3d-0006zg-Pi for submit@debbugs.gnu.org; Fri, 04 May 2012 03:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQD1s-0002SK-Hd for submit@debbugs.gnu.org; Fri, 04 May 2012 03:34:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD1s-0002RR-Bi for submit@debbugs.gnu.org; Fri, 04 May 2012 03:34:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD1m-0007ZY-ST for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:34:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQD1h-0002CJ-SK for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:34:10 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:51596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD1h-00029M-Ir for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:34:05 -0400 Received: by bkcjm19 with SMTP id jm19so2496787bkc.0 for ; Fri, 04 May 2012 00:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=L40OIPH8XhHzG5rVm543ywIo0ouQwVPGOTdsKM8iohQ=; b=VULT3VqHOoqz4snUDSlKJR7xC/76yPJwy1XbQF433I9KtCYX/DRcu8UPyJt2S6Xa7I /j4R1kO1BFq7oIuN9rlhIrNaxhFJ/z7VAIaE1ZGJSoR06ExvhY44GvWX7NQp9E+Qrsz/ b0Y2FiOrxblJ1y/s/VWhGVIoGuxavFzSg03r0BvRqUMvKygocXeKdzpHQw7gmmVPcEir Dtg+qLCEyViBJ8fToYoaeTxTdVL4QfCYXQWv1so2cWH9klxy6iTp2qtRB6gqUQ7Vd/Ux 6ab/2n/e26zaTdDWrK536CO51StUUHQFhSFj3DNKrdUCwtJ37PvbGxXvWZFZ7lzq5M+1 6MWw== MIME-Version: 1.0 Received: by 10.204.150.2 with SMTP id w2mr1822355bkv.101.1336116843453; Fri, 04 May 2012 00:34:03 -0700 (PDT) Received: by 10.204.116.131 with HTTP; Fri, 4 May 2012 00:34:03 -0700 (PDT) Date: Fri, 4 May 2012 15:34:03 +0800 Message-ID: Subject: Problem while compiling emacs-24.0.96 using MinGW on Win7 From: Du Yanning To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=000e0ce04166d51e6f04bf30f131 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 04 May 2012 03:41:06 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --000e0ce04166d51e6f04bf30f131 Content-Type: text/plain; charset=ISO-8859-1 Open a Command Prompt window, then f:\> cd emacs-24.0.96/nt f:\build-emacs\emacs-24.0.96\ nt> configure.bat --no-debug --cflags -ID:/gnuwin32/include --cflags -IC:/gnuwin32/src/lib --without-png f:\build-emacs\emacs-24.0.96\nt> make After a while, it stopped. The last few lines of the output said: cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. f:\build-emacs\emacs-24.0.96\src> It seems that cmd /c did not quit and the current directory has been changed from nt to src. If you press Ctrl+C now, you will get: f:\build-emacs\emacs-24.0.96\src>make[1]: *** [gl-stamp] Interrupt make: *** [all-other-dirs-gmake] Interrupt F:\build-emacs\emacs-24.0.96-mingw\nt> I found that in src/makefile.w32-in of emacs-24.0.96, there is a line that emacs 23 does NOT have: cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h" How can I cope with this problem? Thank you all. --000e0ce04166d51e6f04bf30f131 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Open a Command Prompt window, then

f:\> cd emacs-24.0.96/nt
f:= \build-emacs\emacs-24.0.96\
nt> configure.bat --no-debug = --cflags -ID:/gnuwin32/include --cflags -IC:/gnuwin32/src/lib --without-png=
f:\build-emacs\emacs-24.0.96\nt> make

After a while, it stopped. The last few lines of the output said:

=A0=A0=A0=A0 cmd /c "fc /b gl-tmp globals.h >nul 2>&1 = || cp -f gl-tmp globals.h"
=A0=A0=A0=A0 Microsoft Windows [Version = 6.1.7601]
=A0=A0=A0=A0 Copyright (c) 2009 Microsoft Corporation.=A0 All rights reserv= ed.
=A0=A0=A0=A0 f:\build-emacs\emacs-24.0.96\src>

It seems th= at cmd /c did not quit and the current directory has been changed from nt t= o src.
If you press Ctrl+C now, you will get:

f:\build-emacs\emacs-24.0.96\src>make[1]: *** [gl-stamp] Interruptmake: *** [all-other-dirs-gmake] Interrupt
F:\build-emacs\emacs-24.0.9= 6-mingw\nt>

I found that in src/makefile.w32-in of emacs-24.0.96,= there is a line that emacs 23 does NOT have:
cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp glo= bals.h"

How can I cope with this problem?

Thank you all.=
--000e0ce04166d51e6f04bf30f131-- ------------=_1336141442-7822-1--