Trying to build Python from Source on HPUX 11.23 IA fails

2016-02-18 Thread bthk55

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.


-- 
https://mail.python.org/mailman/listinfo/python-list


Compilation of Python 3.5.1 fails on Solaris 8 sparc

2016-02-19 Thread bthk55
When I try to compile the python from source on Solaris 8. I getting the 
following error


"""

Modules/_localemodule.o: In function PyIntl_gettext': 
Modules/_localemodule.o(.text+0xb60): undefined reference to libintl_gettext' 
Modules/_localemodule.o: In function PyIntl_dgettext': 
Modules/_localemodule.o(.text+0xba8): undefined reference to libintl_dgettext' 
Modules/_localemodule.o: In function PyIntl_dcgettext': 
Modules/_localemodule.o(.text+0xbf8): undefined reference to libintl_dcgettext' 
Modules/_localemodule.o: In function PyIntl_textdomain': 
Modules/_localemodule.o(.text+0xc38): undefined reference to 
libintl_textdomain' Modules/_localemodule.o: In function 
PyIntl_bindtextdomain': Modules/_localemodule.o(.text+0xcec): undefined 
reference to libintl_bindtextdomain' Modules/_localemodule.o: In function 
PyIntl_bind_textdomain_codeset': Modules/_localemodule.o(.text+0xde0): 
undefined reference to libintl_bind_textdomain_codeset' collect2: ld returned 1 
exit status make: *** [Programs/_freeze_importlib] Error 1


"""



 CPPFLAGS="-I/usr/local/include"
 export CPPFLAGS
 LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib'
 export LD_OPTIONS
 LDFLAGS='-L/usr/local/lib -R/usr/local/lib'
 export LDFLAGS
 CC=/usr/local/bin/gcc OPT="-O2" ./configure  
--prefix=/opt/soe/local/Python-3.5.1
-- 
https://mail.python.org/mailman/listinfo/python-list


Compilation of Python 3.5.1 fails on Solaris 8 sparc

2016-02-19 Thread bthk55
When I try to compile the python from source on Solaris 8. I getting the 
following error 



"""

Modules/_localemodule.o: In function PyIntl_gettext': 
Modules/_localemodule.o(.text+0xb60): undefined reference to libintl_gettext' 
Modules/_localemodule.o: In function PyIntl_dgettext': 
Modules/_localemodule.o(.text+0xba8): undefined reference to libintl_dgettext' 
Modules/_localemodule.o: In function PyIntl_dcgettext': 
Modules/_localemodule.o(.text+0xbf8): undefined reference to libintl_dcgettext' 
Modules/_localemodule.o: In function PyIntl_textdomain': 
Modules/_localemodule.o(.text+0xc38): undefined reference to 
libintl_textdomain' Modules/_localemodule.o: In function 
PyIntl_bindtextdomain': Modules/_localemodule.o(.text+0xcec): undefined 
reference to libintl_bindtextdomain' Modules/_localemodule.o: In function 
PyIntl_bind_textdomain_codeset': Modules/_localemodule.o(.text+0xde0): 
undefined reference to libintl_bind_textdomain_codeset' collect2: ld returned 1 
exit status make: *** [Programs/_freeze_importlib] Error 1


"""



The steps that I followed :

CPPFLAGS="-I/usr/local/include"
 export CPPFLAGS
 LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib'
 export LD_OPTIONS
 LDFLAGS='-L/usr/local/lib -R/usr/local/lib'
 export LDFLAGS
 CC=/usr/local/bin/gcc OPT="-O2" ./configure  
--prefix=/opt/soe/local/Python-3.5.1

-- 
https://mail.python.org/mailman/listinfo/python-list