From: Eli Zaretskii <eliz@gnu.org>
To: zwz <zhangweize@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: building error of latest emacs on Windowxp
Date: Wed, 29 Sep 2010 14:56:29 +0200 [thread overview]
Message-ID: <8362xor9mq.fsf@gnu.org> (raw)
In-Reply-To: <m3aan0kfxa.fsf@gmail.com>
> From: zwz <zhangweize@gmail.com>
> Date: Wed, 29 Sep 2010 18:22:25 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: zwz <zhangweize@gmail.com>
> >> 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?
next prev parent reply other threads:[~2010-09-29 12:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 10:26 building error of latest emacs on Windowxp zwz
2010-09-28 10:46 ` Juanma Barranquero
2010-09-28 10:48 ` Eli Zaretskii
2010-09-29 8:42 ` zwz
2010-09-29 9:19 ` Eli Zaretskii
2010-09-29 10:22 ` zwz
2010-09-29 10:36 ` Juanma Barranquero
2010-09-29 12:56 ` Eli Zaretskii [this message]
2010-09-29 13:18 ` Eli Zaretskii
2010-09-29 13:45 ` Juanma Barranquero
2010-09-29 13:50 ` Eli Zaretskii
2010-09-29 15:35 ` Juanma Barranquero
2010-09-29 16:02 ` Eli Zaretskii
2010-09-29 14:29 ` zwz
-- strict thread matches above, loose matches on Subject: below --
2010-09-29 12:42 grischka
2010-09-29 13:10 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8362xor9mq.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=zhangweize@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.