Re: Boost-build Digest, Vol 49, Issue 7

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Boost-build Digest, Vol 49, Issue 7

by Bob Walters-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 7, 2009 at 12:00 PM,  <boost-build-request@...> 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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Errors when using target references to boost libraries (was: Re: Boost-build Digest, Vol 49, Issue 7)

by Johan Nilsson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[Please try to avoid making replies to digests]

Bob Walters wrote:

> On Mon, Sep 7, 2009 at 12:00 PM,
> <boost-build-request@...> 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.

I guess it didn't succeed?

> 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

[snip]

> 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'
> -----

What's your working directory?

>
> 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.

IIRC, those errors are more explicit.

>
> 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.
[snpi]

> scope
>
> error: Attempt to redeclare already existing project id '/boost'
> -----
>
> Same problem, it seems.

Yeah.

>
> Appreciate the help / any ideas.

Just a wild guess; what if you move the Boost installation to another path,
without the "++" part. Or, instead of moving, you could try to use SUBST to
alias "C:\c++" to "Z:" and set BOOST_ROOT to "Z:\" instead.

Also seeing some differences in casing ("C:\c++" and "C:\C++"), which
_shouldn't_ make any difference under Windows.

/ Johan


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build