delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/07/23/04:45:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <COL101-W83368231D343EB4F3678CAE6840@phx.gbl>
X-Originating-IP: [76.121.182.92]
From: Jay <jayk123 AT hotmail DOT com>
To: <djgpp AT delorie DOT com>
Subject: configure fails to find grep?
Date: Wed, 23 Jul 2008 08:43:33 +0000
Importance: Low
MIME-Version: 1.0
X-OriginalArrivalTime: 23 Jul 2008 08:43:33.0911 (UTC) FILETIME=[30E22A70:01C8ECA0]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m6N8hZjJ009153

Anyone seen like:

checking for grep that handles long lines and -e... configure: error: no accepta
ble grep could be found in /dev/c/djgpp.203/bin:/dev/c/windows/system32:/dev/c/w
indows:/dev/c/windows/system32/wbem:/dev/c/bin:/dev/c/python25:/usr/xpg4/bin
make.exe[2]: *** [configure-build-fixincludes] Error 1
make.exe[2]: Leaving directory `c:/djgpp/obj/gcc/423'
make.exe[1]: *** [stage1-bubble] Error 2
make.exe[1]: Leaving directory `c:/djgpp/obj/gcc/423'


I'm trying to build v2.03 gcc423s.zip/gcc423s2.zip natively on x86 XP.
(You know, build old/stable stuff should be a good step toward building new/current stuff..)

I see this in the "sub configure" of gcc/build-i386-pc-msdosdjgpp/fixincludes and libiberty.

If I cd into these directories and run configure manually, it finds /dev/env/DJDIR/bin/grep ok.

I also see a few like this:

c:/djgpp/src/gcc/423/libcpp/configure: redirection error: Bad file descriptor (E
BADF)

but it doesn't seem fatal.

I'll dig in more later -- in particular change it to echo more and see what it tries and gets.

I suspect for some reason it runs out of memory trying long lines, and "unwrapping" it by running configure directly, instead of within make, gives it more memory.

Maybe the line length it looks for should be reduced???? (I realize this would probably be an unpopular upstream patch..)

(Btw, installing Cygwin to the root of a drive somehow interferes with djgpp. I never figured out why, but something about Perl and carriage returns (ie: \r)..the problem shows up trying to build autoconf 2.57. Perhaps Cygwin Perl was ahead in the path or something..)

 - Jay

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019