[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread lurker10

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 
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 
<http://bugs.python.org/issue28346>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread lurker10

lurker10 added the comment:

I am sorry, it's actually 3.7.0a1 I was trying to build that errors.

3.6.0b1 builds fine.

--

___
Python tracker 
<http://bugs.python.org/issue28346>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread lurker10

lurker10 added the comment:

Ok, a new error when running make touch.
Not a mercurial directory (no .hg found). I am not familiar with mercurial 
though, could be an easy fix.
It happens for both 3.7.0a1 and for the current 3.6 branch.

It's alright I'll just use the 3.6.0b1 from the official site.

--

___
Python tracker 
<http://bugs.python.org/issue28346>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread lurker10

lurker10 added the comment:

This has to be it, thank you! I used github to get source.

--
resolution:  -> not a bug
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue28346>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com