[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] [BBv2] --with-python-root error
From:       Jane Lin <jane () darksim ! com>
Date:       2006-06-28 22:20:30
Message-ID: 0F02E415-649A-4D4E-B92C-2B2D9F14BE6C () darksim ! com
[Download RAW message or body]

> This works for me as long as I use BBv1 but with BBv2 I also get an  
> error:
>
> src/boost_RC_1_34_0> export PYTHON_VERSION=2.4
> src/boost_RC_1_34_0> export PYTHON_ROOT=/usr/local
> src/boost_RC_1_34_0> bjam --v2
> Building Boost.Regex with the optional Unicode/ICU support disabled.
> Please refer to the Boost.Regex documentation for more information
> (and if you don't know what ICU is then you probably don't need it).
> warning: Python location is not configured
> warning: the Boost.Python library won't be built
> ...patience...

I'm just using the release version of boost 1_33_1, but I get those  
warnings if I don't have the version and root path in user-config.jam  
in my home directory -- not the user-config.jam in the boost  
directory. You'd want to add something like:

using python : 2.4 : "/usr/local" ;

Did you try that already?

-Jane



[Attachment #3 (unknown)]

<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: \
after-white-space; "><DIV><DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><BLOCKQUOTE type="cite"><BLOCKQUOTE \
type="cite"> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; ">This works for me as long as I use BBv1 but \
with BBv2 I also get an error:</DIV><DIV style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">src/boost_RC_1_34_0&gt; export PYTHON_VERSION=2.4</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">src/boost_RC_1_34_0&gt; \
export PYTHON_ROOT=/usr/local</DIV><DIV style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; ">src/boost_RC_1_34_0&gt; bjam --v2</DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">Building Boost.Regex with the optional Unicode/ICU support disabled.</DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">Please refer to the Boost.Regex documentation for more information</DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">(and if you don't know what ICU is then you probably don't need it).</DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">warning: Python location is not configured</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">warning: the Boost.Python \
library won't be built</DIV><DIV style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; \
">...patience...</DIV></BLOCKQUOTE></DIV><DIV><BR \
class="khtml-block-placeholder"></DIV>I'm just using the release version of boost \
1_33_1, but I get those warnings if I don't have the version and root path in \
user-config.jam in my home directory -- not the user-config.jam in the boost \
directory. You'd want to add something like:<DIV><BR \
class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" \
face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">using \
python : </SPAN></FONT><FONT class="Apple-style-span" color="#0000FF" face="Monaco" \
size="2"><SPAN class="Apple-style-span" style="font-size: \
10px;">2.4</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN \
class="Apple-style-span" style="font-size: 10px;"> : </SPAN></FONT><FONT \
class="Apple-style-span" color="#891315" face="Monaco" size="2"><SPAN \
class="Apple-style-span" style="font-size: 10px;">"/usr/local"</SPAN></FONT><FONT \
class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" \
style="font-size: 10px;"> ;</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" \
face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"><BR \
class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT \
class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" \
style="font-size: 10px;">Did you try that already?</SPAN></FONT></DIV><DIV><FONT \
class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" \
style="font-size: 10px;"><BR \
class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT \
class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" \
style="font-size: 10px;">-Jane</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" \
face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"><BR \
class="khtml-block-placeholder"></SPAN></FONT></DIV><BR></DIV></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic