Trying to build Python from Source on HPUX 11.23 IA fails

bthk55 at bthk55 at
Thu Feb 18 05:32:59 EST 2016

I am trying to build python from source on HPUX 11.23 IA  I am using the latest python version 3.5.1. 

I am getting the following error:

Error 172: "Python/pytime.c", line 627 # Undeclared variable 'CLOCK_MONOTONIC'. const clockid_t clk_id = CLOCK_MONOTONIC; ^^^^^^^^^^^^^^^ *** Error exit code 2

I used the following steps to build :

export CC="cc +DD64"
export CXX=aCC

./configure --prefix=/opt/soe/local/Python-3.5.1

Does anyone know what is the issue here.

More information about the Python-list mailing list