Boost logo

Boost-Build :

Subject: [Boost-build] building boost.python
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2015-05-08 12:03:52


I'm trying to build the boost.python examples, without success.
The build system looks suspicious, so I'd like to start by understanding
what it is supposed to do, before I try to fix anything. contains a
boost-build.jam file with

# Edit this path to point at the tools/build/v2 subdirectory of your
# Boost installation. Absolute paths work, too.
boost-build ../../../tools/build/v2 ;

That path no longer exists on github (there is no "v2" directory). But
even if I remove "/v2", it raises an error. What does this line do ? The
Jamfile doesn't contain any explicit targets, so what logic defines what
an invocation of `bjam` (or `b2` as the case may be) should do ?

Next I tried to build the boost.python documentation, which tries to exeute

   "python" -gdt --source-url=./building.rst --link-stylesheet
--traceback --trim-footnote-reference-space
--footnote-references=superscript --stylesheet=../../../rst.css
building.rst bin/gcc-4.9.2/debug/building.html

which raises the error "Unknown option: -g"

Any idea what I may be missing ?

(As you may guess, I'm trying to get up to speed with boost.python after
a few years of lurking in the background. And while I think I have a
good handle on the boost.python code itself, I'm still struggling with
the build system. :-( )

Many thanks,


      ...ich hab' noch einen Koffer in Berlin...

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