From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: building error of latest emacs on Windowxp Date: Wed, 29 Sep 2010 14:56:29 +0200 Message-ID: <8362xor9mq.fsf@gnu.org> References: <83aan0rjno.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1285765006 26690 80.91.229.12 (29 Sep 2010 12:56:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 12:56:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: zwz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 29 14:56:44 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0wDA-0004cR-9Q for ged-emacs-devel@m.gmane.org; Wed, 29 Sep 2010 14:56:40 +0200 Original-Received: from localhost ([127.0.0.1]:56501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0wD9-0003Q7-J2 for ged-emacs-devel@m.gmane.org; Wed, 29 Sep 2010 08:56:39 -0400 Original-Received: from [140.186.70.92] (port=49310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0wD1-0003Oi-Qv for emacs-devel@gnu.org; Wed, 29 Sep 2010 08:56:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0wD0-0002S9-JV for emacs-devel@gnu.org; Wed, 29 Sep 2010 08:56:31 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:54633) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0wD0-0002Ru-8G for emacs-devel@gnu.org; Wed, 29 Sep 2010 08:56:30 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L9I00E00EGUBG00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Wed, 29 Sep 2010 14:56:28 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.229.215]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L9I00EG7EM32H90@a-mtaout23.012.net.il>; Wed, 29 Sep 2010 14:56:28 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131069 Archived-At: > From: zwz > Date: Wed, 29 Sep 2010 18:22:25 +0800 > > Eli Zaretskii writes: > > >> From: zwz > >> Date: Wed, 29 Sep 2010 16:42:24 +0800 > >> > >> I create a new nt/test.bat with the portion of the script. > >> The output suggests that the logic jumps to doCopy > >> after running to "if errorlevel 1 goto doCopy". > > > > Thanks. So if you now re-run configure.bat a second time, does the > > problem go away? That is, are you able to run "make" cleanly after > > re-running configure.bat? > No. The same error. > The src/config.h seems not updated at all. > I guess there may be no config.tmp during configure. How can that happen? The following lines from configure.bat unconditionally create it from config.nt and add 2 lines to it: copy config.nt config.tmp echo. >>config.tmp echo /* Start of settings from configure.bat. */ >>config.tmp And even if config.tmp were indeed missing, the `fc' command that is run by configure.bat, viz.: fc /b config.tmp ..\src\config.h >nul 2>&1 if errorlevel 1 goto doCopy should have forced the branch to doCopy, because `fc' exits with status of 2 if one of its file arguments does not exist. Then the copy command: :doCopy copy config.tmp ..\src\config.h should have complained like this: The system cannot find the file specified. if config.tmp did not exist. Do you see such an error message when configure.bat runs? Hmm... I think I see the problem. The second line of this fragment: fc /b paths.h ..\src\epaths.h >nul 2>&1 if errorlevel 0 goto dontCopy should say instead if not errorlevel 1 goto dontCopy Could you try this change, please?