[New-bugs-announce] [issue7716] IPv6 detection, don't assume existence of /usr/xpg4/bin/grep

Fabian Groffen report at bugs.python.org
Sat Jan 16 19:25:01 CET 2010

New submission from Fabian Groffen <grobian at gentoo.org>:

The solaris case implementation of the ipv6 check assumes /usr/xpg4/bin/grep is available.  This gives error messages on e.g. IRIX where /etc/netconfig is available, but no /usr/xpg4/bin/grep.  This is simply fixed by using $GREP which is set by configure, and will be set to /usr/xpkg4/bin/grep if no suitable grep was found in the path.

Attached patch incorporates this change.

files: python-2.5.1-no-hardcoded-grep.patch
keywords: patch
messages: 97892
nosy: grobian
severity: normal
status: open
title: IPv6 detection, don't assume existence of /usr/xpg4/bin/grep
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file15913/python-2.5.1-no-hardcoded-grep.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list