[Bug 1251] grep incompatibility in configure

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Oct 19 08:13:19 EST 2006


http://bugzilla.mindrot.org/show_bug.cgi?id=1251

           Summary: grep incompatibility in configure
           Product: Portable OpenSSH
           Version: 4.4p1
          Platform: PPC
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Build system
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: jeff.crutchfield at motorola.com


The configure script's check for a compatible 'grep' fails when the one
on my system apprears to be acceptable.  My OS is LynxOS 4.0 and my
grep version is...
$ grep -V
GNU e?grep, version 1.6

There are two issues why this fails.  First, my grep does not support
long options, so 'grep --version' on line 3169 fails.  Then in the
default case, the test "grep -e 'GREP$' -e '-(cannot match)-' ..." on
line 3208 doesn't match.  I found that my older version of grep appears
to /AND/ all of the '-e' expressions where newer versions of grep /OR/
the '-e' expressions.

I searched through the script and it doesn't appear to me that the
behavior described above is utilized anywhere else.  As a hack I
changed line 3169 to "grep -V" and the configure script completed
successfully.  Also, I have installed openSSH 4.3p2 previously on this
same platform and I didn't run into this issue.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-bugs mailing list