[New-bugs-announce] [issue11102] configure doesn't find "major()" on HP-UX v11.31

Oren Held report at bugs.python.org
Wed Feb 2 21:05:30 CET 2011

New submission from Oren Held <oren at held.org.il>:

The effect eventually is that on HP-UX v3 there are no os.major() and os.minor() functions.

I tried to dig deeper to find out what's wrong, and it seems that 'configure' script fails on 'major' check and thus disables the 'major' feature:

'configure' finds well that /usr/include/sys/sysmacros.h has makedev(), major(), minor() definitions (MAJOR_IN_SYSMACROS==1).

The problem is that including sys/sysmacros.h is not enough, it depends (but doesn't #include) sys/types.h for the definition of dev_t (needed by makedev() macro).

See attached config.log for configure's behavior.

components: Build
files: config.log
messages: 127757
nosy: Oren_Held
priority: normal
severity: normal
status: open
title: configure doesn't find "major()" on HP-UX v11.31
versions: Python 2.7
Added file: http://bugs.python.org/file20652/config.log

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list