Boost logo

Boost Users :

Subject: Re: [Boost-users] Bjam problem - again
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-09-23 12:38:22


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of John Maddock
> Sent: Thursday, September 23, 2010 4:53 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] Bjam problem - again
>
> > I've moved to a new machine, and I can run bjam jobs from trunk, but
> > when I try to run sandbox jobs, I am baffled by this message.
> >
> > Unable to load Boost.Build: could not find build system.
> > ---------------------------------------------------------
> > I:\boost-sandbox\boost-build.jam attempted to load the build system by
> > invoking
> >
> > 'boost-build ;'
> >
> > but we were unable to find "bootstrap.jam" in the specified directory
> >
> > Unhelpfully, it doesn't seem to reveal what the 'specified directory'
> > actually is.
>
> Paul, is the root directory of the sandbox up to date? A while back I
added some
> better error handling to the boost-build.jam specifically to address
inscrutable
> error messages like this. Also added a readme.txt file which
> says:
>
>
>
> This directory contains the file "boost-build.jam" which search for a
Boost install
> as follows:
>
> * In a directory specified by the --boost=path command line option.
> * In a directory specified by the BOOST environment variable.
> * In the directories ../boost and ../Trunk.
>
> In addition the variables BOOST and BOOST_ROOT are set to point to the
root of
> the Boost install, so to refer to other Boost libraries and the main Boost
> headers, your Jamfile should contain something like:
>
> import modules ;
>
> local boost-path = [ modules.peek : BOOST ] ;
>
> And then you can refer to a Boost library "foo" as:
>
> $(boost)/libs/foo/build//boost_foo
>
> Note that if your project does not specify a Jamroot file, then a default
one is
> provided for you, and that this file will automatically add $(BOOST)/ to
your
> include path.

OK I've updated and got some more help, but I'm still stuck with

os.environ BOOST_ROOT boost-root =
Jamfile.v2:30: in modules.load
*** argument error
* rule path-constant ( name : value + )
* called with: ( local-boost-root : )
* missing argument value
I:/boost_1_44_0/tools/build/v2/build\project.jam:1002:see definition of rule
'path-constant' being called
I:/boost_1_44_0/tools/build/v2/build\project.jam:310: in load-jamfile
I:/boost_1_44_0/tools/build/v2/build\project.jam:62: in load
I:/boost_1_44_0/tools/build/v2/build\project.jam:168: in project.find
I:/boost_1_44_0/tools/build/v2\build-system.jam:569: in load
I:\boost_1_44_0\tools\build\v2/kernel\modules.jam:283: in import
I:\boost_1_44_0\tools\build\v2\kernel\bootstrap.jam:142: in boost-build
I:\boost-sandbox\boost-build.jam:62: in module scope

and tried adding and changing the environment variables so they are now thus

C:\Users\Paul>set boost
BOOST=I:/boost_1_44_0/
boost_build=I:\boost_1_44_0\tools\build\v2\build << or should this be
I:\boost_1_44_0\tools\build??
boost_build_path=i:/boost_1_44_0/tools/build/v2
boost_patches=i:\boost-patches
boost_root=i:/boost_1_44_0/
boost_sandbox=i:\boost-sandbox
boost_trunk=i:\boost-trunk

It seems that boost_root environment variable is not being seen correctly?
So I'm doing something wrong still.

Thanks

Paul


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