Boost logo

Boost Users :

From: Yutaka I. Leon Suematsu (yutaka_at_[hidden])
Date: 2006-12-27 01:00:17


Thank Dave,

I could install Boost, including Booost.Python, without problems.

For Python, I used the work-around described by Chris on Dec 17th.
Adding "using python : 2.5 : <python root> ;" in user-config.jam

Thank you,

Yutaka

On 12/27/06 3:48 AM, in article 45916E6D.4020505_at_[hidden],
"David Abrahams" <dave_at_[hidden]> wrote:

> Yutaka Leon Suematsu wrote:
>>
>> * Command 1
>>
>> C:\Source\boost>bjam -sTOOLS=vc-7_1 --with-python-version=2.5
>> --with-python-root=C:\Python25 --prefix="C:\Program Files\Microsoft
>> Visual Studio .NET 2003\Vc7" install
>>
>> * Result
>>
>> error: wrong library name 'python-version=2.5' in the --with-<library>
>> option.
>
> The python-version option is not currently supported. Just leave it
> out; as long as your python is in the PATH it should work.
>
>> -------
>> *Command 2
>>
>> C:\Source\boost>bjam -sTOOLS=vc-7_1 --with-python-root=C:\Python25
>> --with-python-version=2.5 --prefix="C:\Program Files\Microsoft Visual
>> Studio .NET 2003\Vc7" install
>>
>> *Result
>>
>> error: wrong library name 'python-root=C:\Python25' in the
>> --with-<library> option.
>
> Nor is python-root.
>
>> --------
>> * Command 3 ( Defining PYTHON_ROOT and PYTHON_VERSION)
>>
>> C:\Source\boost>bjam -sTOOLS=vc-7_1 --prefix="C:\Program Files\Microsoft
>> Visual Studio .NET 2003\Vc7" install
>
> The veriables are being ignored.
>
>> * Result
>>
>> The mpi module has not been initialized; MPI libraries will not be built.
>> hint: add "using mpi ;" to user-config.jam to enable MPI support.
>> warning: Python location is not configured
>> warning: the Boost.Python library won't be built
>> 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: No toolsets are configured.
>> warning: Configuring default toolset "msvc".
>> warning: If the default is wrong, you may not be able to build C++ programs.
>> warning: Use the "--toolset=xxxxx" option to override our guess.
>> warning: For more configuration options, please consult ECHO warning:
>> http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
>>
>> --------
>>
>> *** From this message, it can also be observed that even though "vc-7_1"
>> was defined as toolset, bjam is using "msvc"
>
> That's the name of the toolset. Please see the new getting started
> instructions at
> http://boost-consulting.com/boost/more/getting_started/index.html
>
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net