
Hello, I build Boost with Python 3.2 and get this error: Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2 Detecting Python version... 3.2 Detecting Python root... File "<string>", line 1 import sys; print sys.prefix ^ SyntaxError: invalid syntax Unicode/ICU support for Boost.Regex?... not found. Generating Boost.Build configuration in project-config.jam... I don't need the ICU support and it seems all libraries are build correctly Phil

on Fri Mar 23 2012, Kraus Philipp
Hello,
I build Boost with Python 3.2 and get this error:
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2 Detecting Python version... 3.2 Detecting Python root... File "<string>", line 1 import sys; print sys.prefix
Yeah, that syntax no longer works with python 3.2, as "print" is a full-fledged function and requires parens. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
participants (2)
-
Dave Abrahams
-
Kraus Philipp