Boost logo

Boost-Build :

Subject: Re: [Boost-build] Getting bjam to build with python in windows
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2009-09-29 04:23:08


Mats Carlsson wrote:
> Hi!
>
> I'm trying to run bjam using this command:
> bjam --with-system --with-thread --with-date_time --with-regex
> --with-serialization stage
>
> I get a message that tells me that bjam can not find python:
> WARNING: No python installation configured and autoconfiguration
> failed. See
> http://www.boost.org/libs/python/doc/building.html for
> configuration instructions or pass --without-python to
> suppress this message and silently skip all Boost.Python targets
>

Do you really want the python library to be built (you're not using
"--with-python"), or are you simply concerned over the warnings?

If the former, add "--with-python" to your bjam invocation and read up
under:
http://www.boost.org/doc/libs/1_40_0/libs/python/doc/building.html#configuring-boost-build

If the latter, ignore the warnings. IIRC similar warnings (regarding
libraries not actually being built in the current build request) should have
been fixed in later Boost versions - which version of Boost are you using?

/ Johan


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