$python -V
Python 3.5.2
When I ran
./configure --with-realtime=uspace --enable-non-distributable=yes --with-boost-python=boost_python-2.7
checking python version... File "
import sys;raise SystemExit,sys.hexversion<0x2070000
^
SyntaxError: invalid syntax
configure: error: Python version too old (2.7 or newer required)
If I select python2.7 as the default, the configuration completes without error. The thing is I want portage to work with python3.5, so defaulting to python2.7 isn't an option for some users (including me).
All the best
#1 - jepler 于 2017-01-29
LinuxCNC requires Python 2.7. It is not compatible with 3.x, and no one has offered to undertake the porting effort.
Try specifying --with-python= to configure; if this is broken, then it's a problem we would like to fix.