Subject: [Boost-bugs] [Boost C++ Libraries] #6946: bootstrap.sh not compatible with python3.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-26 18:05:27
#6946: bootstrap.sh not compatible with python3.
--------------------------------------------+-------------------------------
Reporter: Robert Park <rbpark@â¦> | Owner: rwgk
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
Version: Boost 1.49.0 | Severity: Problem
Keywords: |
--------------------------------------------+-------------------------------
Just tried building boost with python3 support and hit a small snag with
bootstrap.sh using invalid syntax.
On line 280, the print statement has been removed from python3 so you need
to use the print *function* instead, with brackets:
PYTHON_ROOT=`$PYTHON -c "import sys; print(sys.prefix)"`
This change does not break compatibility with python2.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6946> 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:09 UTC