GNU bug report logs -
#11402
Problem while compiling emacs-24.0.96 using MinGW on Win7
Previous Next
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
Message #11 received at 11402 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 4 May 2012 17:37:44 +0800
> From: Du Yanning <duyanning <at> 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'. 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.
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.