Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building Boost giving python error centos 6.5
From: Vladimir Prus (ghost_at_[hidden])
Date: 2014-09-11 02:25:19


On 09/11/2014 05:59 AM, Whitmore, Mattie [USA] wrote:
> Hello,
>
> I am working on building boost but I get the following error with both Python 2.6 (default) and Python 2.7.
>
> I am running a super simple build:
> ./bootstrap
> ./bjam --layout=tagged install
>
> but i get the following error:
>
>
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE
> -DNDEBUG -I"." /-I"/usr/include/<python version>/" -c -o "bin.v2/libs/python/build/gcc-4.4.7/release/threading-multi/numeric.o"
> "libs/python/src/numeric.cpp"
>
> ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.7/release/threading-multi/numeric.o...

Hi Mattie,

the above does not contain any error messages from the compiler. What happens if you run that command by hand? Also, what is:

        /-I"/usr/include/<python version>/"

It does not sound like valid option - did you edit something, or that's exactly what you see?

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk