|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-09-09 15:35:58
on Thu Sep 06 2007, Vladimir Prus <ghost-AT-cs.msu.su> wrote:
> On Thursday 06 September 2007 20:54:43 you wrote:
>> hi, ghost
>> thank u very much for your reply
>> I've added a line in
>> G:\source\boostGraphPython\boost-build.jam:
>>
>> boost-build E:\\etude\\boost_1_34_1\\tools\\build\\v2 ;
>>
>> but bjam.exe gives me:
>>
>> ERROR: Python not configured: cannot build BGL-Python bindings
>> ...found 1 target...
>>
>> i have python in:
>> D:\Python25
>>
>> according to the doc, it seems Boost.Build is able to autoconfigure the
>> python path,no?
Yes. However, full autoconfiguration is only invoked from the
Boost.Python Jamfile (libs/python/build/Jamfile.v2). If BGL's Jamfile
doesn't do something to ensure that Boost.Python's Jamfile is loaded
before it looks for Python being configured, or duplicate the few
lines of autoconfig logic in Boost.Python's jamfile (I can't find the
Jamfile.v2 that builds the BGL python bindings, so I can't verify),
autoconfiguration won't kick in.
> I'm afraid I don't know. The location of D:\Python25 does not seem
> very standard for me
It's very standard if your main disk is D:. That's where the Python
installer puts it.
> , and I don't know how Python autoconfiguration works.
Primarily, it looks in the windows registry for information about
where Python was installed.
>> or i must to add : using python; in my
You need a space before the semicolon.
>> E:\etude\boost_1_34_1\tools\build\v2\user-config.jam ?
>
> I would even suggest specifying python version and installation directory
> explicitly.
>
> using python : 2.5 : D:\\Python25\\bin\\python ;
That should be unnecessary.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
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