Boost logo

Boost-Build :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-12-10 23:35:22

in the directory .../libs/serialization/test I have a file Jamfile.v2 which
is used for testing the serialization system. I"m pretty sure it works as
it is used for testing the library with boost 1.34

It is common and convenient for me to run just the serialization library
tests. In V1 I've used:

bjam --dump-test -sTOOLS=$1 test

which included in runtest.ksh. I would like to be able to do the equivalent
with V2 and from reading the v2 documentation I expect the command to be
something like:

bjam --v2 toolset=msvc

I've tried several variations like

bjam --v2 toolset=msvc test
bjam --v2 --dump-test toolset=msvc
bjam --v2 --dump-test toolset=msvc test

etc. But I get what to me is a cryptic message:

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).
..\..\..\Jamfile.v2:239: in Jamfile</C:/BoostHead>.tag
rule stage.add-variant-and-compiler unknown in module
C:/BoostHead/tools/build/v2/kernel\modules.jam:66: in
C:/BoostHead/tools/build/v2/util\indirect.jam:82: in
C:/BoostHead/tools/build/v2/build\virtual-target.jam:427: in _adjust-name
C:/BoostHead/tools/build/v2/build\virtual-target.jam:215: in
C:/BoostHead/tools/build/v2/build\virtual-target.jam:520: in
C:/BoostHead/tools/build/v2/kernel\class.jam:93: in
C:/BoostHead/tools/build/v2/build\generators.jam:441: in generated-targets
C:/BoostHead/tools/build/v2/build\generators.jam:370: in construct-result
C:/BoostHead/tools/build/v2/build\generators.jam:328: in run-really
C:/BoostHead/tools/build/v2/build\generators.jam:299: in
C:/BoostHead/tools/build/v2/tools\builtin.jam:863: in
C:/BoostHead/tools/build/v2/build\generators.jam:823: in
C:/BoostHead/tools/build/v2/build\generators.jam:876: in try-one-generator
C:/BoostHead/tools/build/v2/build\generators.jam:1084: in construct-really
C:/BoostHead/tools/build/v2/build\generators.jam:1160: in
C:/BoostHead/tools/build/v2/tools\builtin.jam:490: in

What should I be doing here?

Robert Ramey

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at