Boost logo

Boost Users :

Subject: Re: [Boost-users] Python error
From: Dave Abrahams (dave_at_[hidden])
Date: 2012-03-30 18:31:15


on Fri Mar 23 2012, Kraus Philipp <philipp.kraus-AT-flashpixx.de> wrote:

> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net