Boost Build V2 Information

All - Since we're deprecating BB v1 I wanted to start using v2 in my maintenance activities. I've already used v2 for doc stuff using
bjam -v2
commands, but now I want to use it for testing. In particular, I want to do the equivalent of the v1
cd libs/date_time/test bjam --verbose-test
If I say
bjam -v2 --verbose-test
it doesn't work. So my questions are, is there an upgrade document? Do I need to recompile a new version of bjam with the latest? I found some v2 docs out at Metacomm, but they aren't answering these questions. Thx, Jeff

Try #2 -- any help here folks? I guess I'll cross-post to the testing list... Jeff Garland wrote:
All -
Since we're deprecating BB v1 I wanted to start using v2 in my maintenance activities. I've already used v2 for doc stuff using
bjam -v2
commands, but now I want to use it for testing. In particular, I want to do the equivalent of the v1
cd libs/date_time/test bjam --verbose-test
If I say
bjam -v2 --verbose-test
it doesn't work. So my questions are, is there an upgrade document? Do I need to recompile a new version of bjam with the latest? I found some v2 docs out at Metacomm, but they aren't answering these questions.
Thx,
Jeff _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Jeff Garland <jeff@crystalclearsoftware.com> writes:
Try #2 -- any help here folks? I guess I'll cross-post to the testing list...
The build list would be more apropos.
If I say
bjam -v2 --verbose-test ^
You need --v2 to get BBv2, but AFAICT from the BBv2 code --verbose-test is supported.
it doesn't work.
What do you mean by "it doesn't work?" -- Dave Abrahams Boost Consulting www.boost-consulting.com

David Abrahams wrote:
Jeff Garland <jeff@crystalclearsoftware.com> writes:
Try #2 -- any help here folks? I guess I'll cross-post to the testing list...
The build list would be more apropos.
If I say
bjam -v2 --verbose-test ^
oops, thx that's important...
You need --v2 to get BBv2, but AFAICT from the BBv2 code --verbose-test is supported.
it doesn't work.
What do you mean by "it doesn't work?"
Ok, well I have new results with the release candidate. I just refreshed cvs. Then I went and built and installed a fresh copy of bjam. Results are below. Basically it appears I need to configure my toolsets now -- please point me to the documentation and I'll gladly follow the instructions.
bjam -v Boost.Jam Version 3.1.13. OS=LINUX. Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. Copyright 2001 David Turner. Copyright 2001-2004 David Abrahams. Copyright 2002-2005 Rene Rivera. Copyright 2003-2005 Vladimir Prus.
---------------------------------------------------------- then from my library directory /boost_rc_1_34/libs/date_time/test
bjam --v2 --verbose-test
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 warning: no toolsets are configured. warning: you won't be able to build C++ programs. warning: please consult the documentation. error: unable to construct ./testgeneric_period To debug this problem, try the --debug-generators option --------------------------------------------------------
/usr/bin/bjam --v2 --debug-generators
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 warning: no toolsets are configured. warning: you won't be able to build C++ programs. warning: please consult the documentation. *** construct RUN from { testgeneric_period.cpp.CPP } properties: <asynch-exceptions>off <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <exception-handling>on <extern-c-nothrow>off <format>html <hardcode-dll-paths>true <include>../../.. <inlining>off <install-dependencies>off <link>shared <location-prefix>testgeneric_period.test <main-target-type>RUN <optimization>off <os>LINUX <profiling>off <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <symlink-location>project-relative <tag>@Jamfile</home/jeff/devTools/boost_rc_1_34>%Jamfile</home/jeff/devTools/boost_rc_1_34>.tag <threading>single <user-interface>console <variant>debug <warnings-as-errors>off <warnings>on find-viable-generators target-type= RUN property-set= debug trying type RUN there are generators for this type trying generator testing.expect-success ( RUN_OUTPUT -> RUN ) is viable *** 1 viable generators ** generator 'testing.expect-success' pruned error: unable to construct ./testgeneric_period find-viable-generators target-type= RUN property-set= debug trying type RUN there are generators for this type trying generator testing.expect-success ( RUN_OUTPUT -> RUN ) is viable To debug this problem, try the --debug-generators option.

Jeff Garland wrote:
David Abrahams wrote:
Jeff Garland <jeff@crystalclearsoftware.com> writes:
Try #2 -- any help here folks? I guess I'll cross-post to the testing list...
The build list would be more apropos.
If I say
bjam -v2 --verbose-test ^
oops, thx that's important...
You need --v2 to get BBv2, but AFAICT from the BBv2 code --verbose-test is supported.
it doesn't work.
What do you mean by "it doesn't work?"
Ok, well I have new results with the release candidate. I just refreshed cvs. Then I went and built and installed a fresh copy of bjam. Results are below. Basically it appears I need to configure my toolsets now -- please point me to the documentation and I'll gladly follow the instructions.
Please see: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.htm I have modified V2 to mention this URL in the error message. Thanks, Volodya

Vladimir Prus wrote:
Jeff Garland wrote:
David Abrahams wrote:
Jeff Garland <jeff@crystalclearsoftware.com> writes:
Try #2 -- any help here folks? I guess I'll cross-post to the testing list... The build list would be more apropos.
If I say
bjam -v2 --verbose-test ^ oops, thx that's important...
You need --v2 to get BBv2, but AFAICT from the BBv2 code --verbose-test is supported.
it doesn't work. What do you mean by "it doesn't work?" Ok, well I have new results with the release candidate. I just refreshed cvs. Then I went and built and installed a fresh copy of bjam. Results are below. Basically it appears I need to configure my toolsets now -- please point me to the documentation and I'll gladly follow the instructions.
Please see: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.htm
I have modified V2 to mention this URL in the error message.
Thanks, I'll keep trying later, but my initial tries have met with the same error. BTW, the URL you gave 404's (it's actually html not htm): http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html Jeff
participants (3)
-
David Abrahams
-
Jeff Garland
-
Vladimir Prus