Subject: Re: [Boost-build] (Mac OS 10.9) Boost.Python build quickstart: Unable to load Jamfile
From: Lars Viklund (zao_at_[hidden])
Date: 2014-01-10 01:25:59
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'.
> >> <snip>
> >> /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]
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