Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam
From: er (er.ci.2020_at_[hidden])
Date: 2011-08-22 16:02:15


On 8/22/11 1:40 PM, er wrote:
> Could someone please help with this problem?
>
> $ cd /usr/local/
> $ sudo svn export http://svn.boost.org/svn/boost/trunk boost-trunk
> $ sudo ./bootstrap.sh

This alone seems to take care of generating bjam in

BOOST_ROOT/tools/build/v2/engine/bin.macosxx86_64

and makes a copy of if in BOOST_ROOT. I guess the first directory is
what is referred to, below, as 'Boost.Build engine', right?

> $ sudo ./b2 install -a
> $ cd tools/build/v2/example
> $ bjam
> bjam
> warning: mismatched versions of Boost.Build engine and core
> warning: Boost.Build engine (bjam) is 03.1.17
> warning: Boost.Build core (at /usr/local/boost-trunk/tools/build/v2) is

Thus far, Boost.Build core has no bjam executable, so I wonder how
engine and core can be compared (and what, besides the bjam binaries).
Anyhow, I tried this:

BOOST_ROOT$ tools/build/v2/bootstrap.sh

Let's check:

BOOST_ROOT$ cmp -s bjam ./tools/build/v2/bjam && echo 'no changes'
no changes
BOOST_ROOT$ cmp -s bjam ./tools/build/v2/engine/bin.macosxx86_64/bjam &&
echo 'no changes'

Finally,

BOOST_ROOT$ bjam --version
[same warning]
is 2011.04-svn

BOOST_ROOT$ ./tools/build/v2/engine/bin.macosxx86_64/bjam --version
[no warning]
Boost.Build 2011.04-svn

$ ./tools/build/v2/bjam --version
[no warning!]
Boost.Build 2011.04-svn

They are all the same version. I deduce, therefore, that mismatched
versions of Boost.Build engine and core means something other than the
bjam execs are different in the directories specified above.

Note: I also tried with a stable release 1.47.

Please give me some suggestion to resolve this issue. Thanks.


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