Boost logo

Boost-Build :

Subject: Re: [Boost-build] error with 'import platform ;'
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-23 03:03:25


On Tuesday 23 March 2010 00:23:12 Oliver Kowalke wrote:

> Vladimir Prus schrieb:
> > Yes. You have not built bjam with Python support. You need to go
> > to bjam source dir and do:
> >
> > ./build.sh --with-python=/usr
> >
> > assuming you're on linux and have Python headers and libraries installed.
>
> Ok, Ok - my fault. I used the bjam from the searhc path instead of the
> version with python support from tools/jamr/src/bin. Sorry!
> Now it works.
>
> may I ask you how to stop/exit the build process if a certain condition
> is not met (like os and compiler)?

Something like:

        ECHO "I'm so sorry" ;
    EXIT ;

is the hard and fast way to stop the build.

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk