[Boost-bugs] [Boost C++ Libraries] #5677: Bootstrap fails with python versions 3.1 and up

Subject: [Boost-bugs] [Boost C++ Libraries] #5677: Bootstrap fails with python versions 3.1 and up
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-07 21:15:12


#5677: Bootstrap fails with python versions 3.1 and up
-----------------------------------------------------+----------------------
 Reporter: Eric Barr <eric.barr@…> | Owner:
     Type: Patches | Status: new
Milestone: To Be Determined | Component: Building Boost
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: |
-----------------------------------------------------+----------------------
 Using bootstrap.sh to build boost with python versions 3.1 and up
 generates output similar to the following and the subsequent build fails
 for boost.python:

 Detecting Python version... 3.2
 Detecting Python root... File "<string>", line 1
     import sys; print sys.prefix
                         ^
 SyntaxError: invalid syntax

 This appears to be caused by the code checking for the python root using a
 form of the 'print' function that is no longer valid in later versions of
 python. Attached is a patch that fixes this issue.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5677>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC