|
Boost-Build : |
Subject: Re: [Boost-build] Boost-build Digest, Vol 49, Issue 7
From: Bob Walters (bob.s.walters_at_[hidden])
Date: 2009-09-15 23:32:25
On Mon, Sep 7, 2009 at 12:00 PM, <boost-build-request_at_[hidden]> wrote:
Johan Nilsson wrote:
> Strange. The following "nonsense project" works for me verbatim using
> msvc-8.0 with Boost/Boost.Build/Boost.Jam combo from both 1.34.1 and current
> trunk:
> What is the actual value of BOOST_ROOT in environment?
I tried building your project with my environments.
This must be something associated with my specific environment:
I'm using msvc 9.0, which I doubt is significant here.
BOOST_ROOT is C:\c++\boost_1_39_boostpro.
The contents of the BOOST_ROOT is an installation of the BoostPro
distribution of boost, installed using their installer.
Here's the error from the build attempt:
-----
C:\c++\boost_1_39_boostpro\bin\bjam -q toolset=msvc variant=debug
The system cannot find the path specified.
The system cannot find the path specified.
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:731: in attribute
warning: rulename $($(project).attributes).get expands to empty string
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:82: in
load-used-projects
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:73: in project.load
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:754: in project.use
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:89: in
load-used-projects
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:73: in load
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:168: in project.find
C:/C++/boost_1_39_boostpro/tools/build/v2\build-system.jam:553: in load
C:\C++\boost_1_39_boostpro\tools\build\v2/kernel\modules.jam:283: in import
C:\C++\boost_1_39_boostpro\tools\build\v2\kernel\bootstrap.jam:138: in
boost-build
C:\C++\boost_1_39_boostpro\boost-build.jam:16: in module scope
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:731: in
project.attribute
warning: rulename $($(project).attributes).get expands to empty string
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:755: in project.use
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:89: in
load-used-projects
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:73: in load
C:/C++/boost_1_39_boostpro/tools/build/v2/build\project.jam:168: in project.find
C:/C++/boost_1_39_boostpro/tools/build/v2\build-system.jam:553: in load
C:\C++\boost_1_39_boostpro\tools\build\v2/kernel\modules.jam:283: in import
C:\C++\boost_1_39_boostpro\tools\build\v2\kernel\bootstrap.jam:138: in
boost-build
C:\C++\boost_1_39_boostpro\boost-build.jam:16: in module scope
error: Attempt to redeclare already existing project id '/boost'
-----
I'm assuming that the first two "cannot find" errors are due to my
lack of a user-config or system-config file in the usual places.
Thinking it might be something specific with the boostpro
distribution, I also have a source install of boost_1_39 which I built
myself, using a downloaded binary of bjam. (boost-jam-3.1.17-1-ntx86).
That BOOST_ROOT=c:\c++\boost_1_39_0, and it was built by running:
bjam toolset=msvc --with-system --with-serialization --with-thread
--with-filesystem --with-date_time --build-type=complete variant=debug
stage
When I try to build using that distribution, I get:
-----
C:\c++\boost-jam-3.1.17-1-ntx86\bjam -q toolset=msvc variant=debug
The system cannot find the path specified.
The system cannot find the path specified.
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:731: in attribute
warning: rulename $($(project).attributes).get expands to empty string
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:82: in load-used-projects
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:73: in project.load
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:754: in project.use
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:89: in load-used-projects
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:73: in load
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:168: in project.find
C:/C++/boost_1_39_0/tools/build/v2\build-system.jam:553: in load
C:\C++\boost_1_39_0\tools\build\v2/kernel\modules.jam:283: in import
C:\C++\boost_1_39_0\tools\build\v2\kernel\bootstrap.jam:138: in boost-build
C:\C++\boost_1_39_0\boost-build.jam:16: in module scope
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:731: in project.attribute
warning: rulename $($(project).attributes).get expands to empty string
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:755: in project.use
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:89: in load-used-projects
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:73: in load
C:/C++/boost_1_39_0/tools/build/v2/build\project.jam:168: in project.find
C:/C++/boost_1_39_0/tools/build/v2\build-system.jam:553: in load
C:\C++\boost_1_39_0\tools\build\v2/kernel\modules.jam:283: in import
C:\C++\boost_1_39_0\tools\build\v2\kernel\bootstrap.jam:138: in boost-build
C:\C++\boost_1_39_0\boost-build.jam:16: in module scope
error: Attempt to redeclare already existing project id '/boost'
-----
Same problem, it seems.
Appreciate the help / any ideas.
- Bob
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