From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11402: Problem while compiling emacs-24.0.96 using MinGW on Win7 Date: Fri, 04 May 2012 13:30:15 +0300 Message-ID: <834nrw6xxk.fsf@gnu.org> References: <837gws713p.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1336127616 20863 80.91.229.3 (4 May 2012 10:33:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 May 2012 10:33:36 +0000 (UTC) Cc: 11402@debbugs.gnu.org To: Du Yanning Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 04 12:33:35 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 1SQFpO-0000pu-4W for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2012 12:33:34 +0200 Original-Received: from localhost ([::1]:58336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQFpN-00020c-Ig for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2012 06:33:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQFpF-00020S-Af for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 06:33:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQFp8-0002mr-RL for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 06:33:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQFp8-0002mn-Ns for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 06:33:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQFqn-0003Qy-IN for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 06:35:01 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 11402-submit@debbugs.gnu.org id=B11402.133612764913036 (code B ref 11402); Fri, 04 May 2012 10:35:01 +0000 Original-Received: (at 11402) by debbugs.gnu.org; 4 May 2012 10:34:09 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: X-012-Sender: halo1@inter.net.il 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:59736 Archived-At: > 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.