Python syntax errors on running the configure script.
|Reported by:||ashmew2||Owned by:||rekkanoryo|
|Version:||2.10.7||Keywords:||python2 python3 configure|
Description (last modified by ashmew2)
While compiling from source , the configure script gives syntax errors when it tries to guess the version of python on systems where the default python binary is python 3.x instead of the required python 2.x.
In order to make it successfully through compilation, the .py files need to be modified so that they are compatible with both versions of Python. Also, the configure.ac script should be edited to only check for the existence of Python.h and not worry about what the major version of Python is.