[Pidgin] #15624: Python syntax errors on running the configure script.

Pidgin trac at pidgin.im
Sun May 5 14:26:27 EDT 2013


#15624: Python syntax errors on running the configure script.
---------------------------------------+---------------------------
 Reporter:  ashmew2                    |       Owner:  rekkanoryo
     Type:  patch                      |      Status:  new
Milestone:                             |   Component:  unclassified
  Version:  2.10.7                     |  Resolution:
 Keywords:  python2 python3 configure  |
---------------------------------------+---------------------------
Description changed by ashmew2:

Old description:

> 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
> systems with both python2.x and python3.x installed, the python2
> interpreter is usually named python2 instead of python. If python2 is not
> installed and python is python3.x, the make step fails with syntax
> errors. This is to prevent the make step from failing and detect if
> Python 2.x is available even if it is not the default python on the
> system.

New description:

 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.

--

-- 
Ticket URL: <https://developer.pidgin.im/ticket/15624#comment:2>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list