Problem build Boost.Python

B

Bren

Hi,

Pardon my stupid, but I'm having a problem building Boost.Python as
per the instructions at
http://www.boost.org/libs/python/doc/building.html

I got boost-build-2.0-m6.zip from sourceforge and build bjam.exe.

I've tried several ways:

bjam -a
bjam -sTOOLS="msvc"
bjam -sTOOLS=msvc

I tried with and without the using msvc ; in user-config.jam.

In every case I get:

C:/Project/boost/tools\boostbook.jam:86: in boostbook.init
*** argument error
* rule path.make ( native )
* called with: ( )
* missing argument native
C:/Project/boost/new\path.jam:42:see definition of rule 'path.make'
being called

C:/Project/boost/new\toolset.jam:22: in using
C:\Project\boost\new\../new\user-config.jam:58: in modules.load
C:/Project/boost\build-system.jam:55: in load
C:\Project\boost\new\..\kernel\modules.jam:296: in import
C:\Project\boost\new\..\kernel\bootstrap.jam:122: in boost-build
C:\Project\boost\new\boost-build.jam:2: in module scope


Can anyone help?
 
D

David Abrahams

Bren said:
Hi,

Pardon my stupid, but I'm having a problem building Boost.Python as
per the instructions at
http://www.boost.org/libs/python/doc/building.html

I got boost-build-2.0-m6.zip from sourceforge and build bjam.exe.

It is possible to build Boost.Python under Boost.Build-2.0, but not
using those instructions. Boost.Build v1 is still the official build
system of Boost for the time being.

[Boost.Build guys, do we need to rename the BBv2 prerelease so this
confusion doesn't recur?]

It looks like you're on windows, so you should either get the
precompiled executable in bjam-3.1.4-2-ntx86.zip, or visit the
tools/build/jam_src subdirectory of your Boost installation and invoke
build.bat as per
http://www.boost.org/tools/build/jam_src/index.html#installing

I've tried several ways:

bjam -a
bjam -sTOOLS="msvc"
bjam -sTOOLS=msvc

I tried with and without the using msvc ; in user-config.jam.

In every case I get:

C:/Project/boost/tools\boostbook.jam:86: in boostbook.init
*** argument error
* rule path.make ( native )
* called with: ( )
* missing argument native
C:/Project/boost/new\path.jam:42:see definition of rule 'path.make'
being called

C:/Project/boost/new\toolset.jam:22: in using
C:\Project\boost\new\../new\user-config.jam:58: in modules.load
C:/Project/boost\build-system.jam:55: in load
C:\Project\boost\new\..\kernel\modules.jam:296: in import
C:\Project\boost\new\..\kernel\bootstrap.jam:122: in boost-build
C:\Project\boost\new\boost-build.jam:2: in module scope


Can anyone help?

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top