Boost logo

Boost :

Subject: Re: [boost] Unable to build boost python library in 1.46.1
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-03-24 19:53:56


At Thu, 24 Mar 2011 18:33:43 -0400,
Richard Hadsell wrote:
>
> I tried to follow the latest Getting Started instructions, which
> changed a bit from the last version I built (1.44.0) to build bjam:
>
> cd tools/build/v2
> bootstrap.sh
> bjam install --prefix=../../..
> cd ../../..
> bin/bjam --user-config=user-config.LINUX_AMDF7 threading=multi instruction-set=opteron address-model=64 variant=release link=static,shared --stagedir=stageF7 stage

If you add --debug-configuration to your bjam command-line, it should be revealing.

> My user-config.LINUX_AMDF7 file contains this:
>
> using gcc : 4.1.2 : /usr/bin/g++ : <compileflags>"-fPIC -fno-strict-aliasing -fno-tree-ccp" <linkflags>"-fPIC -fno-strict-aliasing -fno-tree-ccp" ;
> using python : 2.5 : /usr ;
>
>
> Can someone explain why the compilations are not getting the correct
> include path for Python (/usr/include/python2.5/)?
>
> BTW, the Getting Started page
> http://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html
> in section 5.2.1 step 2 tells me to "Run bootstrap.bat".

That's a problem; could you please file a bug report at http://svn.boost.org?

Thanks,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk