Boost logo

Boost-Build :

Subject: Re: [Boost-build] Getting bjam to build with python in windows
From: Mats Carlsson (m.mcaber_at_[hidden])
Date: 2009-09-29 09:13:14


I use boost 1.40.0 i suppose. It seems to invoke the --with-python by
default and I get an error message when using the --without-python
(both --with and --without error).

I need python, but I'm not sure if I need it to be built or just
connected to the boost-things. I was told that the python stuff that
came with the boost download did not work properly with the
eclipse/windows setup I have. So I had to build, or somehow get it
connected to my project.

Like I said it seems that bjam is looking in the right place but
choosing the wrong executable (pythonw.exe vs. python.exe). But I'm
new to this so I might be misunderstanding the feedback.

/Mats

2009/9/29 Johan Nilsson <r.johan.nilsson_at_[hidden]>:
> 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
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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