[Python-Dev] Installation issue on Python-3.5.9 ...

2020-08-20 Thread Saikat Das via Python-Dev
Hello Team, 
While installing Python-3.5.9 in CentOS-5 I am getting the below errors:
==>>
[root@manage Python-3.5.9]# grep error config.logconftest.c:11:28: error: 
ac_nonexistent.h: No such file or directoryconftest.c:11:28: error: 
ac_nonexistent.h: No such file or directoryconftest.c:54:26: error: 
minix/config.h: No such file or directoryconftest.c:21:26: error: 
minix/config.h: No such file or directoryconfigure:6961: gcc -fstrict-aliasing 
-c  -Werror -Wstrict-aliasing  conftest.c >&5cc1: warnings being treated as 
errorsconfigure:7017: gcc -Wunused-result -Werror -c   conftest.c >&5cc1: 
error: unrecognized command line option "-Wunused-result"configure:7041: 
checking for -Werror=declaration-after-statementconfigure:7062: gcc 
-Werror=declaration-after-statement -c   conftest.c >&5cc1: error: unrecognized 
command line option "-Werror=declaration-after-statement"conftest.c:62:19: 
error: conio.h: No such file or directoryconftest.c:29:19: error: conio.h: No 
such file or directoryconftest.c:62:20: error: direct.h: No such file or 
directoryconftest.c:29:20: error: direct.h: No such file or 
directoryconftest.c:66:20: error: ieeefp.h: No such file or 
directoryconftest.c:33:20: error: ieeefp.h: No such file or 
directoryconftest.c:66:16: error: io.h: No such file or 
directoryconftest.c:33:16: error: io.h: No such file or 
directoryconftest.c:68:21: error: process.h: No such file or 
directoryconftest.c:35:21: error: process.h: No such file or 
directoryconftest.c:78:25: error: sys/devpoll.h: No such file or 
directoryconftest.c:45:25: error: sys/devpoll.h: No such file or 
directoryconftest.c:80:25: error: sys/audioio.h: No such file or 
directoryconftest.c:47:25: error: sys/audioio.h: No such file or 
directoryconftest.c:81:24: error: sys/bsdtty.h: No such file or 
directoryconftest.c:48:24: error: sys/bsdtty.h: No such file or 
directoryconftest.c:81:23: error: sys/event.h: No such file or 
directoryconftest.c:48:23: error: sys/event.h: No such file or 
directoryconftest.c:83:30: error: sys/kern_control.h: No such file or 
directoryconftest.c:50:30: error: sys/kern_control.h: No such file or 
directoryconftest.c:83:25: error: sys/loadavg.h: No such file or 
directoryconftest.c:50:25: error: sys/loadavg.h: No such file or 
directoryconftest.c:83:22: error: sys/lock.h: No such file or 
directoryconftest.c:50:22: error: sys/lock.h: No such file or 
directoryconftest.c:83:23: error: sys/mkdev.h: No such file or 
directoryconftest.c:50:23: error: sys/mkdev.h: No such file or 
directoryconftest.c:83:23: error: sys/modem.h: No such file or 
directoryconftest.c:50:23: error: sys/modem.h: No such file or 
directoryconftest.c:84:24: error: sys/random.h: No such file or 
directoryconftest.c:51:24: error: sys/random.h: No such file or 
directoryconftest.c:90:28: error: sys/sys_domain.h: No such file or 
directoryconftest.c:57:28: error: sys/sys_domain.h: No such file or 
directoryconftest.c:90:24: error: sys/termio.h: No such file or 
directoryconftest.c:57:24: error: sys/termio.h: No such file or 
directoryconftest.c:98:21: error: libutil.h: No such file or 
directoryconftest.c:65:21: error: libutil.h: No such file or 
directoryconftest.c:101:23: error: bluetooth.h: No such file or 
directoryconftest.c:68:23: error: bluetooth.h: No such file or 
directoryconftest.c:101:33: error: bluetooth/bluetooth.h: No such file or 
directoryconftest.c:68:33: error: bluetooth/bluetooth.h: No such file or 
directory/usr/include/linux/random.h:38: error: expected 
specifier-qualifier-list before '__u32'/usr/include/linux/random.h:42: error: 
expected specifier-qualifier-list before '__u32'conftest.c:103:18: error: 
util.h: No such file or directoryconftest.c:70:18: error: util.h: No such file 
or directoryconftest.c:105:24: error: sys/endian.h: No such file or 
directoryconftest.c:72:24: error: sys/endian.h: No such file or 
directoryconftest.c:81:23: error: linux/can.h: No such file or 
directoryconftest.c:81:27: error: linux/can/raw.h: No such file or 
directoryconftest.c:81:27: error: linux/can/bcm.h: No such file or 
directoryconftest.c:117: error: expected expression before ')' 
tokenconftest.c:117: error: expected expression before ')' tokenconftest.c:117: 
error: expected expression before ')' tokenconftest.c:118: error: expected 
expression before ')' tokenconftest.c:118: error: expected expression before 
')' tokenconftest.c:119: error: expected expression before ')' 
tokenconftest.c:120: error: expected expression before ')' tokenconftest.c:123: 
error: size of array 'test_array' is negativeconftest.c:121: error: expected 
expression before ')' tokenconftest.c:124: error: size of array 'test_array' is 
negativeconftest.c:122: error: expected expression before ')' 
tokenconftest.c:123: error: '__uint128_t' undeclared (first use in this 
function)conftest.c:123: error: (Each undeclared identifier is reported only 
onceconftest.c:123: error: for each function it appears in.)conftest.c:112: 
error: expected expr

[Python-Dev] Installation issue on Python-3.5.9 ...

2020-08-20 Thread Stephen J. Turnbull
Saikat Das via Python-Dev writes:
 > Hello Team, 
 > While installing Python-3.5.9 in CentOS-5 I am getting the below
 > errors:

Not our problem (details below).  You should get help from someone
with experience in building large programs.  Best if they are local
looking at your console.  If you've got nobody like that around, try
[email protected] for this.  Before you ask for help, understand
the following, and be very polite: you're asking a lot.

0.  Installation problems are almost never Python problems; they are
usually packaging or system configuration problems.
1.  Python 3.5 is out of support; no changes will be implemented to
support new OSes or configurations (although CentOS is almost
certainly well-supported).
2.  If you are installing from a Centos package, that's a package
problem first.  Only report to upstream if the package maintainer
says it's our bug.
3.  Your report contains no problem we could deal with anyway:

 > ==
 > [root@manage Python-3.5.9]
 > # grep error config.log
 > conftest.c:11:28: error: ac_nonexistent.h: No such file or directory

None of these are real errors.  A large number of errors attributed to
files (hundreds of them!) named conftest.c are *expected*; they
indicate that a system feature is not implemented on your OS rather
than a problem with the program being built.
___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/B6LHQJFYVP5SBDMILWMZTBPDLHT2L457/
Code of Conduct: http://python.org/psf/codeofconduct/