[C++-sig] Re: Problem build Boost.Python

David Abrahams dave at boost-consulting.com
Sat Jul 26 01:03:19 CEST 2003


The following message is a courtesy copy of an article
that has been posted to comp.lang.python as well.

Bren <iambrenNOSPAM at sympatico.ca> writes:

> 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,
-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list