[C++-sig] Building Boost with python2.7 libraries on centos 6.5

Stefan Seefeld stefan at seefeld.name
Wed Sep 10 13:25:09 CEST 2014


On 09/09/2014 06:19 PM, Whitmore, Mattie [USA] wrote:
> Dear All,
>
> I must build boost 1.46.1 from source since yum does not support it. I
> am running into issues with the proper make commands. I have run:
>
>
> ./bootstrap.sh -with-libraries=python -with-python=Python2.7
> -with-toolset=gcc
>
> ./bjam -a --layout=tagged -q
>
>
> libs/python/src/numeric.cpp:22: warning:
> ‘boost::python::numeric::<unnamed>::array_module’ defined but not used
>
>
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE
> -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/include/python2.6" -c
> -o
> "bin.v2/libs/python/build/gcc-4.4.7/release/link-static/threading-multi/numeric.o"
> "libs/python/src/numeric.cpp"
>
>
> ...failed gcc.compile.c++
> bin.v2/libs/python/build/gcc-4.4.7/release/link-static/threading-multi/numeric.o...
>
> ...failed updating 1 target...
>
>
> Does anyone have suggestions on building boost with python libraries?
> Is this because I am not building all of the libraries at once?
>

The above doesn't contain any actual error, only a warning, so it's hard
to tell what went wrong. Can you sent the full output, please ?

Stefan


-- 

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



More information about the Cplusplus-sig mailing list