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.
Created on 2012年04月12日 02:07 by adiroiban, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| hpux-libs.diff | adiroiban, 2012年04月12日 02:07 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg158099 - (view) | Author: Adi Roiban (adiroiban) | Date: 2012年04月12日 02:07 | |
Hi, I am trying to build Python on HP-UXiv3. HP-UX also keeps libs in /usr/lib/hpux64 and /usr/lib/hpux32. I have attached a patch for searching these folders. ---- The patch is against the latest version of cpython. I have tests the change on Python 2.5.6. Cheers, Adi |
|||
| msg158120 - (view) | Author: Charles-François Natali (neologix) * (Python committer) | Date: 2012年04月12日 11:28 | |
Hello Adi,
Thanks for your patch.
Just a detail:
"""
if platform == 'hp-ux11':
lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32']
"""
Wouldn't it be more robust as:
"""
if platform.startswith('hp-ux'):
lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32']
"""
So that it works with older and (potenttially) future HP-UX releases?
|
|||
| msg158121 - (view) | Author: Adi Roiban (adiroiban) | Date: 2012年04月12日 11:41 | |
Hi,
startswith('hp-ux') should also work as in real world it should be synonym with hp-ux11 ... see my reasoning below
I used 'hp-ux11' since this was the system I have access to and can test and I was not brave enought to assume that the patch will work on future or past version.
According to wikipedia HP-UX 11.00 was relesed in 1997... and I see a trend to change the minor version number . Latest is 11.31 released in 2007...
HPUX 10 is from 1995 and I am not sure if Python will work at all on such a system.
As a side node, i think that HPUX will slowly die and we will not see an HP-UX 12.
Cheers,
Adi
|
|||
| msg158153 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年04月12日 17:13 | |
New changeset 807f331f973d by Charles-François Natali in branch '3.2': Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. http://hg.python.org/cpython/rev/807f331f973d New changeset 9481e801ae7c by Charles-François Natali in branch 'default': Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. http://hg.python.org/cpython/rev/9481e801ae7c New changeset cc2e3c6d2669 by Charles-François Natali in branch '2.7': Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. http://hg.python.org/cpython/rev/cc2e3c6d2669 |
|||
| msg158156 - (view) | Author: Charles-François Natali (neologix) * (Python committer) | Date: 2012年04月12日 17:58 | |
Committed, thanks! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58762 |
| 2012年04月12日 17:58:47 | neologix | set | status: open -> closed resolution: fixed messages: + msg158156 stage: patch review -> resolved |
| 2012年04月12日 17:13:50 | python-dev | set | nosy:
+ python-dev messages: + msg158153 |
| 2012年04月12日 11:41:59 | adiroiban | set | messages: + msg158121 |
| 2012年04月12日 11:28:04 | neologix | set | nosy:
+ neologix messages: + msg158120 stage: patch review |
| 2012年04月12日 02:07:29 | adiroiban | create | |