Boost logo

Boost-Build :

Subject: Re: [Boost-build] [Build] Unable to load Jamfile
From: Aaron Oman (aaron.oman_at_[hidden])
Date: 2010-03-17 11:52:16

On Mon, Mar 15, 2010 at 9:49 AM, Vladimir Prus <ghost_at_[hidden]> wrote:

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

Well thank you very much!

I grabbed a source distribution and threw it into /usr/src, then added a
directory under /usr/src/[boost_version]/ called "bin.v2" with proper
permissions for my user and the build worked flawlessly.

After that I created a symbolink link like so: ln -s

Then added to my .bashrc: export

Now I can import my extension into Python with no issues.

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

Yeah, I know, but I was at my wit's end. At that point, I'll try anything
to make it work. :)

> Hope this helps,
> --
> Vladimir Prus
> Boost.Build:
> _______________________________________________
> Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at