[issue14557] HP-UX libraries not included

2012-04-12 Thread Charles-François Natali

Charles-François Natali neolo...@free.fr added the comment:

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?

--
nosy: +neologix
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14557
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14557] HP-UX libraries not included

2012-04-12 Thread Adi Roiban

Adi Roiban a...@roiban.ro added the comment:

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

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14557
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14557] HP-UX libraries not included

2012-04-12 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

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

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14557
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14557] HP-UX libraries not included

2012-04-12 Thread Charles-François Natali

Charles-François Natali neolo...@free.fr added the comment:

Committed, thanks!

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14557
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14557] HP-UX libraries not included

2012-04-11 Thread Adi Roiban

New submission from Adi Roiban a...@roiban.ro:

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

--
files: hpux-libs.diff
keywords: patch
messages: 158099
nosy: adiroiban
priority: normal
severity: normal
status: open
title: HP-UX libraries not included
Added file: http://bugs.python.org/file25184/hpux-libs.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14557
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com