From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Du Yanning Newsgroups: gmane.emacs.bugs Subject: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7 Date: Fri, 4 May 2012 15:34:03 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0ce04166d51e6f04bf30f131 X-Trace: dough.gmane.org 1336117231 6779 80.91.229.3 (4 May 2012 07:40:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 May 2012 07:40:31 +0000 (UTC) To: 11402@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 04 09:40:28 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SQD7q-0003ZY-Km for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2012 09:40:26 +0200 Original-Received: from localhost ([::1]:48255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD7p-0000pV-VA for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2012 03:40:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD7m-0000pN-Bc for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:40:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQD7k-0008Sk-Kn for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:40:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQD7k-0008Rr-Ei for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:40:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQD9O-000784-8U for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 03:42:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133611726827330 (code B ref -1); Fri, 04 May 2012 07:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 May 2012 07:41:08 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== Original-Received: by 10.204.150.2 with SMTP id w2mr1822355bkv.101.1336116843453; Fri, 04 May 2012 00:34:03 -0700 (PDT) Original-Received: by 10.204.116.131 with HTTP; Fri, 4 May 2012 00:34:03 -0700 (PDT) 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-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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59733 Archived-At: --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--