./configure fails with python 3.2

Bug #769627 reported by David Martin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HIPL
New
Undecided
Unassigned

Bug Description

When building HIPL ./configure fails if python 3.2 is used. This is the output:

checking whether to have middlebox authentification... (cached) no
checking whether to use performance measurement... (cached) no

+-----------------------------------------------
| processing modules...
|
  File "./process_modules.py", line 80
    print '|\n| WARNING in configuration of ' + module_name + ':',
                                               ^
SyntaxError: invalid syntax
configure: error: Module processing failed

Seems like the generated configure checks for a version too old but not for one too recent. A workaround is to look for the line
"for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do"
in configure and delete the first python so that python2 is used. Alternatively swap the symlink of python in /usr/bin.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.