unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Christoph Scholtes <cschol2112@googlemail.com>
Cc: Emacs-devel@gnu.org, bkey76@gmail.com
Subject: Re: Bootstrap failure with new configure.bat (was Re: Proposed change to nt/INSTALL)
Date: Thu, 05 May 2011 06:34:27 -0400	[thread overview]
Message-ID: <E1QHvt5-0003hn-E6@fencepost.gnu.org> (raw)
In-Reply-To: <4DC230CF.8070803@gmail.com> (message from Christoph Scholtes on Wed, 04 May 2011 23:08:31 -0600)

> Date: Wed, 04 May 2011 23:08:31 -0600
> From: Christoph Scholtes <cschol2112@googlemail.com>
> CC: Emacs-devel@gnu.org, Eli Zaretskii <eliz@gnu.org>
> 
> gcc -I. -c -gdwarf-2 -g3 -mno-cygwin -mtune=pentium4 -O2 
> -DENABLE_CHECKING -DXASSERTS -fno-crossjumping  -IC:/Program -o 
> oo-spd/i386/emacs.o emacs.c
> emacs.c:22:20: fatal error: config.h: No such file or directory 
> compilation terminated.
> mingw32-make[2]: *** [oo-spd/i386/emacs.o] Error 1
> mingw32-make[2]: Leaving directory 
> `D:/devel/emacs/emacs-bzr/trunk_readonly/src'
> mingw32-make[1]: *** [bootstrap-temacs] Error 2
> mingw32-make[1]: Leaving directory 
> `D:/devel/emacs/emacs-bzr/trunk_readonly/src'
> mingw32-make: *** [bootstrap-gmake] Error 2
> 
> Obviously, the CFLAG `-IC:/Program' is the culprit here. The gcc command 
> is generated correctly if the directory name does not contain any spaces.
> 
> Earlier in the bootstrap during compilation of temacs the command is 
> correctly generated, for example:
> 
> gcc -I. -c -gdwarf-2 -g3 -mno-cygwin -mtune=pentium4 -O2 
> -DENABLE_CHECKING -DXASSERTS -fno-crossjumping  -I"C:/Program Files 
> (x86)/GnuWin32/include" -ID:/devel/emacs/libXpm-3.5.8/include 
> -ID:/devel/emacs/libXpm-3.5.8/src -ID:/devel/emacs/gnutls-2.8.6/include 
> -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/filemode.o 
> filemode.c
> 
> Eli,
> do you have any idea why the part after the first space gets stripped of 
> in some cases and in some cases it doesn't?

Recursive Make invocations?

Anyway, the answer to that is in the Makefiles (in nt/ and src/) and
in config.h generated by configure.bat.  If you cannot figure this
out, post them here, perhaps with the full transcript of the bootstrap
from the start till it fails, and someone will have the answer.

Also, do you have some sh.exe on PATH?  If so, try without it.



  reply	other threads:[~2011-05-05 10:34 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 23:35 Proposed change to nt/INSTALL Ben Key
2011-05-05  0:54 ` Ben Key
2011-05-05  5:08   ` Bootstrap failure with new configure.bat (was Re: Proposed change to nt/INSTALL) Christoph Scholtes
2011-05-05 10:34     ` Eli Zaretskii [this message]
2011-05-05 12:34       ` Christoph Scholtes
2011-05-05 16:38         ` Ben Key
2011-05-05 16:44           ` Juanma Barranquero
2011-05-05 17:01           ` Eli Zaretskii
2011-05-05 19:07             ` Ben Key
2011-05-05 20:29               ` Eli Zaretskii
2011-05-05 23:31                 ` Christoph Scholtes
2011-05-06  3:28                   ` Christoph Scholtes
2011-05-06  5:39                     ` Ben Key
2011-05-06  7:37                       ` Eli Zaretskii
2011-05-06 13:23             ` Stefan Monnier
2011-05-06 15:08               ` Eli Zaretskii
2011-05-06 22:54                 ` Christoph Scholtes
2011-05-07  7:53                   ` Eli Zaretskii
2011-05-06 23:19                 ` Ben Key
2011-05-06 23:44                   ` Christoph Scholtes
2011-05-07  4:13                     ` Ben Key
2011-05-07  8:07                       ` Eli Zaretskii
2011-05-07 14:24                       ` Christoph Scholtes
2011-05-05  1:18 ` Proposed change to nt/INSTALL Juanma Barranquero
2011-05-05  1:47   ` Ben Key
2011-05-05  2:05     ` Juanma Barranquero
2011-05-05  3:01     ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1QHvt5-0003hn-E6@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=Emacs-devel@gnu.org \
    --cc=bkey76@gmail.com \
    --cc=cschol2112@googlemail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).