bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gzip 1.3.9 on IRIX 5.3 feedback


From: Matthew Woehlke
Subject: Re: gzip 1.3.9 on IRIX 5.3 feedback
Date: Wed, 20 Dec 2006 10:37:25 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

Georg Schwarz wrote:
Now here are the details:
[snip]

doing a ./configure in the freshly untared gzip-1.3.9 sources yields:

...
checking for a POSIX-compliant shell... no
configure: WARNING: using /bin/sh, even though it does not conform to POSIX
checking for grep that handles long lines and -e...
configure: error: no acceptable grep could be found in
:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/bin:/usr/bin/X11:/usr/xpg4/bin

so it does search the directories in question.

Ok, whew. :-)

maybe IRIX 5.3's grep is found but fails the tests? Can I check that manually?

Yes, that looks like the problem.

Here is what I get on IRIX 6.5:

$ echo foo | /sbin/grep -e 'fo\?'
$ echo foo | grep -e 'fo\?'
foo
$ grep --version
grep (GNU grep) 2.5.1

...so /sbin/grep (on my /newer/ IRIX) does not handle extended regular expressions the same way GNU grep does. If my newer one doesn't, chances are your older one doesn't either, which is probably why configure doesn't like it ("checking for a grep that handles ... *-e*").

Anyway, setting GREP=/sbin/grep works fine (probably the tests are skipped)

Yes, you are probably telling it (incorrectly) that /sbin/grep is OK. Don't do that. :-)

(Honestly, if you are then able to build gzip I guess you are OK, but you should probably get or build GNU grep.)

--
Matthew
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]