|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-25 09:21:04
Larry Evans wrote:
> On 10/25/07 07:55, Vladimir Prus wrote:
>> Larry Evans wrote:
>>
>>> On 10/25/07 07:30, Vladimir Prus wrote:
>>>> Larry Evans wrote:
>>> [snip]
>>>>> so, I'm guessing the --with-python is ignored? I tried
>>>>> without the --with-python and it ran OK.
>>>> Well, --with-python works for me just fine.
>>>>
>>> However, if there's no difference between:
>>>
>>> ./build.sh
>>>
>>> and:
>>>
>>> ./build.sh --with-python=/usr
>>
>> I think there *is* difference -- the first won't build python-enabled
>> bjam. At least it does not for me.
>>
>
> So, is '/usr' *always* the right value for '--with-python='?
It's almost always is.
> If so, then why bother specifying it.
In part, to specify that python support should be enabled.
> If not, then how
> does the user know which value to use?
It should be the 'installation prefix' used when building/installing
python.
> Also, how do you test for whether bjam is python-enabled?
$ bjam -f-
PYTHON_IMPORT_RULE os : getcwd : PyBB : getcwd
<Ctrl-D>
is a quick and dirty way. We probably should change bjam -v
output so indicate python is enabled.
- Volodya
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