|
Boost-Build : |
Subject: Re: [Boost-build] custom bcp build no longer finds boost-build.jam in 1.57.0
From: Kevin Moody (kevine.moody_at_[hidden])
Date: 2014-12-02 14:11:40
>
> However, step 5 now fails to find boost-build.jam in the latest
>>> version, boost 1.57.0. I tried to look over similar topics on the
>>> mailing
>>> list, but they don't seem to have a suitable solution for my case.
>>> Also, I tried using:
>>>
>>> -sBOOST_ROOT=<new directory>
>>>
>>> and the BOOST_ROOT environment variable, but got the same error message.
>>>
>>
>> Hi Kevin,
>>
>> what's the error message exactly?
>
>
Unable to load Boost.Build: could not find "boost-build.jam"
---------------------------------------------------------------
BOOST_ROOT must be set, either in the environment, or
on the command-line with -sBOOST_ROOT=..., to the root
of the boost installation.
Attempted search from E:\jenkins\temp\boost\objyboost up to the root
at E:/jenkins/temp/boost/share/boost-build
Please consult the documentation at 'http://www.boost.org'.
Would the following work:
>>
> <original-src>/b2 -sBOOST_BUILD_PATH=<original-src>/tools/build
>> [further options]
>>
>
Here's the original command:
cmd /c E:\boost\src\b2 --without-test --prefix=E:\boost --build-dir=build
link=shared threading=multi runtime-link=shared toolset=msvc-12.0
architecture=x86 address-model=64 variant=debug,release, stage
Trying with BOOST_BUILD_PATH:
cmd /c E:\boost\src\b2 -sBOOST_BUILD_PATH=E:\boost\src --without-test
--prefix=E:\boost --build-dir=build link=shared threading=multi
runtime-link=shared toolset=msvc-12.0 architecture=x86 address-model=64
variant=debug,release, stage
Which I believe gets me to the inspect error that John mentioned below:
>cmd /c E:\boost\src\b2 -sBOOST_BUILD_PATH=E:\boost\src --without-test
--prefix=E:\boost --build-dir=build link=shared threading=multi
runtime-link=shared toolset=msvc-12.0 architecture=x86 address-model=64
variant=debug,release, stage
E:/boost/src/tools/build/src/build\project.jam:262: in find-jamfile from
module project
error: Unable to load Jamfile.
error: Could not find a Jamfile in directory 'tools/inspect/build'.
error: Attempted to find it with pattern '[Bb]uild.jam [Jj]amfile.v2
[Jj]amfile
[Jj]amfile.jam'.
error: Please consult the documentation at 'http://www.boost.org'.
E:/boost/src/tools/build/src/build\project.jam:280: in load-jamfile from
module project
E:/boost/src/tools/build/src/build\project.jam:64: in load from module
project
E:/boost/src/tools/build/src/build\project.jam:89: in load-used-projects
from module project
E:/boost/src/tools/build/src/build\project.jam:75: in load from module
project
E:/boost/src/tools/build/src/build\project.jam:145: in project.find from
module project
E:/boost/src/tools/build/src\build-system.jam:535: in load from module
build-system
E:\boost\src\tools\build\src/kernel\modules.jam:289: in import from module
modules
E:\boost\src\tools\build\src/kernel/bootstrap.jam:139: in boost-build from
module
E:\boost\src\boost-build.jam:17: in module scope from module
> Kevin, I have a fix for this, which is partly in develop but not yet
> master.
>
Great! Thank you! But...I'm wondering if trying 1.56 might be better for
me. My only goal was to build boost with msvc12.0. I know that 1.55 has
an issue with building serialization in msvc12.0, which is why I moved to
1.57. Am I stuck applying a patch, regardless of which release I move to?
Regards,
Kevin
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