[New-bugs-announce] [issue28346] 3.6 source doesn't build on centos 6

lurker10 report at bugs.python.org
Mon Oct 3 04:37:07 EDT 2016


New submission from lurker10:

Centos 6.7
Python 2.6.6 (default in Centos 6, no other python installed)
GCC 4.4.7

# ./configure
...
(no errors)

# make
python ./Tools/scripts/generate_opcode_h.py ./Lib/opcode.py ./Include/opcode.h
/bin/mkdir -p Include
python ./Parser/asdl_c.py -h Include ./Parser/Python.asdl
Traceback (most recent call last):
  File "./Parser/asdl_c.py", line 6, in <module>
    import asdl
  File "/root/cpython/Parser/asdl.py", line 36
    builtin_types = {'identifier', 'string', 'bytes', 'int', 'object', 'singleton',
                                 ^

SyntaxError: invalid syntax
make: *** [Include/Python-ast.h] Error 1

----------
components: Build
messages: 277937
nosy: lurker10
priority: normal
severity: normal
status: open
title: 3.6 source doesn't build on centos 6
type: compile error

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


More information about the New-bugs-announce mailing list