This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: IPv6 detection, don't assume existence of /usr/xpg4/bin/grep
Type: behavior Stage: resolved
Components: Build Versions: Python 3.1, Python 3.2, Python 2.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, grobian, pitrou, sandro.tosi
Priority: normal Keywords: needs review, patch

Created on 2010-01-16 18:24 by grobian, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
python-2.5.1-no-hardcoded-grep.patch grobian, 2010-01-16 18:24 don't use hardcoded /usr/xpkg4/bin/grep reference
Messages (4)
msg97892 - (view) Author: Fabian Groffen (grobian) Date: 2010-01-16 18:24
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.
msg109440 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-07-06 23:02
This is a miniscule patch to could someone please run with this.
msg125014 - (view) Author: Sandro Tosi (sandro.tosi) * (Python committer) Date: 2011-01-01 22:53
Hi, I think the best way to test this patch is to apply the fix and then compile python on a Solaris system (which I don't have): is someone owning a Solaris would run this test?
msg125213 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-01-03 18:57
Thank you for the patch! It is committed in r87698 (3.2), r87699 (3.1) and r87700 (2.7).
Date User Action Args
2022-04-11 14:56:56adminsetgithub: 51965
2011-01-03 18:57:52pitrousetstatus: open -> closed

versions: - Python 2.6
nosy: + pitrou

messages: + msg125213
resolution: fixed
stage: resolved
2011-01-01 22:53:33sandro.tosisetnosy: + sandro.tosi
messages: + msg125014
2010-07-06 23:02:51BreamoreBoysetnosy: + BreamoreBoy
messages: + msg109440
2010-01-16 18:59:53brian.curtinsetpriority: normal
keywords: + needs review
type: behavior
components: + Build
versions: - Python 2.5
2010-01-16 18:24:58grobiancreate