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: Georg Schwarz
Subject: Re: gzip 1.3.9 on IRIX 5.3 feedback
Date: Wed, 20 Dec 2006 17:13:22 +0100


Am 20.12.2006 um 16:57 schrieb Matthew Woehlke:

Georg Schwarz wrote:
Am 20.12.2006 um 01:20 schrieb Matthew Woehlke:
Is /usr/sbin in your path? (Does 'which grep' or 'type grep' find it?)
yes, it is. But configure does not seem to care at this point, using only a set of fixed paths to search for 'find'. As I said, the same issue exists with other recent GNU software as well.

sorry, my mistake: I meant, 'grep', not 'find'.

Now here are the details:

lorenz 20% uname -a
IRIX lorenz 5.3 08031225 IP20 mips
lorenz 21% which grep
/sbin/grep
lorenz 22% ls -lad /sbin/grep
-rwxr-xr-x    1 root     sys        71048 Dec 28  2003 /sbin/grep


lorenz 25% ls -lad /usr/bin/grep /usr/sbin/grep /bin/grep
Cannot access /usr/sbin/grep: No such file or directory
lrwxr-xr-x 1 root sys 15 Dec 28 2003 /bin/grep - > ../../sbin/grep lrwxr-xr-x 1 root sys 15 Dec 28 2003 /usr/bin/grep - > ../../sbin/grep


are /bin/grep and /usr/bin/grep not found since they are just relative symbolic links??? (especiall


Hmm, that can't be good. I specifically build certain GNU packages (sed, grep, awk, to be specific) in a certain order, and before building other packages, specifically so that later packages can use the GNU versions instead of hoping that a system-supplied one meets the needed semantics.

However, from what I can see of 'configure' in gzip-1.3.9, it looks like it /should/ be checking in $PATH (unless I am looking in the wrong place). Can anyone else confirm whether or not $PATH is checked? If not, why not, and what packages are affected by this?

This is what PATH looks like on the system in question:

lorenz 26% echo $PATH
:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/bin:/usr/bin/X11

and

lorenz 27% /bin/sh
$ echo $PATH
:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/bin:/usr/bin/X11


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.

config.log has:

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

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

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


--
Georg Schwarz    http://home.pages.de/~schwarz/
address@hidden  +49 178 8545053







reply via email to

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