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 21:43:14 +0800 Message-ID: References: <837gws713p.fsf@gnu.org> <834nrw6xxk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0ce04166205cd304bf361a15 X-Trace: dough.gmane.org 1336139068 15672 80.91.229.3 (4 May 2012 13:44:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 May 2012 13:44:28 +0000 (UTC) Cc: 11402@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 04 15:44:26 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 1SQIo6-0003L3-90 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2012 15:44:26 +0200 Original-Received: from localhost ([::1]:39575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQIo5-0004T6-Li for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2012 09:44:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQIo2-0004Sw-NN for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 09:44:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQInz-00022o-2h for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 09:44:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQIny-000220-Sz for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 09:44:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQIpe-00018X-0M for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 09:46: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 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: Original-Received: via spool by 11402-submit@debbugs.gnu.org id=B11402.13361391064307 (code B ref 11402); Fri, 04 May 2012 13:46:01 +0000 Original-Received: (at 11402) by debbugs.gnu.org; 4 May 2012 13:45:06 +0000 Original-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 Original-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 Original-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== Original-Received: by 10.204.150.2 with SMTP id w2mr2227868bkv.101.1336138994310; Fri, 04 May 2012 06:43:14 -0700 (PDT) Original-Received: by 10.204.116.131 with HTTP; Fri, 4 May 2012 06:43:14 -0700 (PDT) In-Reply-To: <834nrw6xxk.fsf@gnu.org> 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:59739 Archived-At: --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--