Issue 14557: HP-UX libraries not included (original) (raw)

Issue14557

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 -> closedresolution: fixedmessages: + stage: patch review -> resolved
2012-04-12 17:13:50 python-dev set nosy: + python-devmessages: +
2012-04-12 11:41:59 adiroiban set messages: +
2012-04-12 11:28:04 neologix set nosy: + neologixmessages: + stage: patch review
2012-04-12 02:07:29 adiroiban create