[New-bugs-announce] [issue16479] Can't install Python 3 on Redhat Linux, make failed

Stephen report at bugs.python.org
Thu Nov 15 17:29:20 CET 2012


New submission from Stephen:

Machine is Redhat Linux 6.2. Tried to install Python3.3 build failed in the make step.

-----------------------
[sliu at wtl-build-1 Python-3.3.0]$ uname -a    
Linux wtl-build-1 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
[sliu at wtl-build-1 Python-3.3.0]$ pwd
/tmp/Python-3.3.0
[snip]
config.status: pyconfig.h is unchanged
creating Modules/Setup
creating Modules/Setup.local
creating Makefile
[sliu at wtl-build-1 Python-3.3.0]$ make 
Wrapping make for user sliu on hostname wtl-build-1...
gcc: Parser/acceler.o: No such file or directory
gcc: Parser/grammar1.o: No such file or directory
gcc: Parser/listnode.o: No such file or directory
gcc: Parser/node.o: No such file or directory
gcc: Parser/parser.o: No such file or directory
gcc: Parser/bitset.o: No such file or directory
gcc: Parser/metagrammar.o: No such file or directory
gcc: Parser/firstsets.o: No such file or directory
gcc: Parser/grammar.o: No such file or directory
gcc: Parser/pgen.o: No such file or directory
gcc: Objects/obmalloc.o: No such file or directory
gcc: Python/dynamic_annotations.o: No such file or directory
gcc: Python/mysnprintf.o: No such file or directory
gcc: Python/pyctype.o: No such file or directory
gcc: Parser/tokenizer_pgen.o: No such file or directory
gcc: Parser/printgrammar.o: No such file or directory
gcc: Parser/parsetok_pgen.o: No such file or directory
gcc: Parser/pgenmain.o: No such file or directory
make[1]: *** [Parser/pgen] Error 1
make: *** [Include/graminit.h] Error 2
Build with args "" took 0 seconds, status complete
[sliu at wtl-build-1 Python-3.3.0]$ 

-----------------------

Tried different Linux machines, same error. Tried Python 3.3, 3.1 and 3.0, same error.

Any idea?
Stephen

----------
components: Installation
messages: 175623
nosy: stephenlqn at gmail.com
priority: normal
severity: normal
status: open
title: Can't install Python 3 on Redhat Linux, make failed
type: compile error
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16479>
_______________________________________


More information about the New-bugs-announce mailing list