New submission from Oren Held <o...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue11102> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com