GNU bug report logs - #11402
Problem while compiling emacs-24.0.96 using MinGW on Win7

Previous Next

Package: emacs;

Reported by: Du Yanning <duyanning <at> gmail.com>

Date: Fri, 4 May 2012 07:42:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#11402: closed (Problem while compiling emacs-24.0.96 using
 MinGW on Win7)
Date: Fri, 04 May 2012 14:24:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 04 May 2012 17:21:15 +0300
with message-id <83zk9o58o4.fsf <at> gnu.org>
and subject line Re: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7
has caused the debbugs.gnu.org bug report #11402,
regarding Problem while compiling emacs-24.0.96 using MinGW on Win7
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
11402: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11402
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Du Yanning <duyanning <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Problem while compiling emacs-24.0.96 using MinGW on Win7
Date: Fri, 4 May 2012 15:34:03 +0800
[Message part 3 (text/plain, inline)]
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.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Du Yanning <duyanning <at> gmail.com>
Cc: 11402-done <at> debbugs.gnu.org
Subject: Re: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on
	Win7
Date: Fri, 04 May 2012 17:21:15 +0300
> Date: Fri, 4 May 2012 21:43:14 +0800
> From: Du Yanning <duyanning <at> gmail.com>
> Cc: 11402 <at> 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.


This bug report was last modified 13 years and 79 days ago.

Previous Next


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