Boost logo

Boost-Build :

From: Jeff Holle (jeffreyholle_at_[hidden])
Date: 2006-12-05 12:00:52


I am failing to get the CVS version of bjam (check out on Mon Dec 4
20:58:14 EST 2006).
"bjam --version", displays:
  Boost.Build V2 (Milestone 11)
  Boost.Jam 03.1.14
I've two environment variables that worked with boost 1.31.1. They are:
  BOOST_ROOT=$HOME/boost_1_31_1
  BOOST_BUILD_PATH=$BOOST_ROOT/tools/build/v2

With this new version of boost, these were changed to:
  BOOST_ROOT=$HOME/boost_CVS/boost
  BOOST_BUILD_PATH=$BOOST_ROOT/tools/build/v2

When I attempt to build the bgl-viz library, I get:
  $BOOST_ROOT/tools/build/v1/testing.jam:12: in load
   rule difference unknown in module testing.
  $BOOST_ROOT/tools/build/v2/kernel/modules.jam:261: in import
  $BOOST_ROOT/tools/build/v1/python.jam:16: in load
  $BOOST_ROOT/tools/build/v2/kernel/modules.jam:261: in modules.import
  $BOOST_ROOT/tools/build/v2/build/project.jam:844: in import
    ../../../libs/python/build/Jamfile.v2:8: in modules.load
  $BOOST_ROOT/tools/build/v2/build/project.jam:312: in load-jamfile
  $BOOST_ROOT/tools/build/v2/build/project.jam:68: in project.load
  $BOOST_ROOT/tools/build/v2/build/project.jam:718: in project.use
  $BOOST_ROOT/tools/build/v2/build/project.jam:94: in load-used-projects
  $BOOST_ROOT/tools/build/v2/build/project.jam:79: in load
  $BOOST_ROOT/tools/build/v2/build/project.jam:120: in load-parent
  $BOOST_ROOT/tools/build/v2/build/project.jam:447: in initialize
  $BOOST_ROOT/tools/build/v2/build/project.jam:301: in load-jamfile
  $BOOST_ROOT/tools/build/v2/build/project.jam:68: in load
  $BOOST_ROOT/tools/build/v2/build/project.jam:170: in project.find
  $BOOST_ROOT/tools/build/v2/build-system.jam:209: in load
  $BOOST_ROOT/tools/build/v2/kernel/modules.jam:261: in import
  $BOOST_ROOT/tools/build/v2/kernel/bootstrap.jam:132: in boost-build
  $BOOST_ROOT/boost-build.jam:16: in module scope

If I revert back to BOOST_BUILD_ROOT=$HOME/boost_1_31_1/tools/build/v2,
I can successfully build bgl-viz and anything else I try.

However, when I attempt to run bjam outside of the boost directory tree,
I get:
  error: Boost.Jam version 3.1.12 or later required

Can somebody explain this?


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk