Boost logo

Boost-Build :

Subject: Re: [Boost-build] [Build] Unable to load Jamfile
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-15 12:49:41


On Saturday 13 March 2010 23:20:02 Aaron Oman wrote:

> Hi there. I've got a fresh install of Ubuntu 9.10 and have installed all
> the boost development tools with apt-get. My goal is to build a "python
> embedded in C++" program, but I've run into a snag right from the get go.
>
> I just want to preface this by saying that I've search for a solution to
> this, but my searching skills are sub-par, or there simply isn't a lot of
> info on the particular topic out there.
>
>
> aoman_at_ubuntu:/usr/share/doc/libboost1.38-doc/examples/libs/python/example/quickstart$
> bjam
> /usr/share/boost-build/build/project.jam:270: 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'.
...
> Any suggestions? I get this whenever and wherever I invoke bjam from.

I am afraid the message is accurate -- you don't have Jamfile in that directory.
You need to get source distribution of boost for the quickstart example
to work. It needs Boost source tree, and debian appears to provide the
quickstart example anyway.

(Beside, building from '/usr/share' is pretty bad idea anyway)

Hope this helps,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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