Subject: Re: [Boost-build] (Mac OS 10.9) Boost.Python build quickstart: Unable to load Jamfile
From: Degang Wu (samuelandjw_at_[hidden])
Date: 2014-01-13 09:13:50
Do you mean that I can keep my Macports boost installation, extract everything from boost_1_55_0.tar.bz2, put it somewhere, get into the quickstart directory and launch bjam there? I did the above, and got this error message:
bjam toolset=gcc --verbose-test test
warning: mismatched versions of Boost.Build engine and core
warning: Boost.Build engine (bjam) is 03.1.18
warning: Boost.Build core (at /Users/wudegang/boost_1_55_0/tools/build/v2) is 2011.12-svn
link.jam: No such file or directory
/Users/wudegang/boost_1_55_0/tools/build/v2/util/path.jam:458: in path.makedirs
rule MAKEDIR unknown in module path.
/Users/wudegang/boost_1_55_0/tools/build/v2/build/configure.jam:233: in configure.set-log-file
/Users/wudegang/boost_1_55_0/tools/build/v2/build-system.jam:695: in load
/Users/wudegang/boost_1_55_0/libs/python/example/quickstart/../../../../tools/build/v2/kernel/modules.jam:289: in import
/Users/wudegang/boost_1_55_0/libs/python/example/quickstart/../../../../tools/build/v2/kernel/bootstrap.jam:139: in boost-build
/Users/wudegang/boost_1_55_0/libs/python/example/quickstart/boost-build.jam:7: in module scope
On 10 Jan, 2014, at 2:25 pm, Lars Viklund <zao_at_[hidden]> wrote:
> On Fri, Jan 10, 2014 at 11:46:23AM +0800, Degang Wu wrote:
>>>> /opt/local/share/boost-build/build/project.jam:271: in find-jamfile from module project
>>>> error: Unable to load Jamfile.
>>>> error: Could not find a Jamfile in directory '../../../..'.
>>>> 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'.
>>>> /opt/local/share/doc/boost/libs/python/example/quickstart/boost-build.jam:7: in module scope from module
> It seems like the Macports installation goes an extra step and installs
> the samples by itself into share as some sort of "doc" installation. A
> real 'b2 install' doesn't do this, a normal Boost installation only has
> headers and libraries.
> In order to build the samples, you need to be in an actual full Boost
> tree, like the one you get when you extract boost_1_55_0.tar.bz2
>>> These instructions are written assuming that
>>> you are using the official Boost distribution
>>> directly. The Jamfile is looking for the
>>> main Boost Jamfile which apparently doesn't
>>> exist in your Macports installation.
> Lars Viklund | zao_at_[hidden]
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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