List Info

Thread: Re: build python




Re: build python
country flaguser name
Russian Federation
2007-09-06 12:47:51
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:sourceboostGraphPythonboost-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?

I'm afraid I don't know. The location of D:Python25 does
not seem
very standard for me, and I don't know how Python
autoconfiguration works.

> 
> or i must to add : using python; in my
> E:etudeboost_1_34_1toolsbuildv2user-config.jam ?

I would even suggest specifying python version and
installation directory
explicitly.

	using python : 2.5 : D:\Python25\bin\python ;

> спасибо!

You're welcome.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Re: build python
country flaguser name
United States
2007-09-09 14: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:sourceboostGraphPythonboost-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:etudeboost_1_34_1toolsbuildv2user-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-cons
ulting.com

The Astoria Seminar ==> http://www.astoriasemin
ar.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )