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

Whitmore, Mattie [USA] Whitmore_Mattie at bah.com
Wed Sep 10 00:19:00 CEST 2014


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?


Thanks in advance


Mattie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20140909/972bd949/attachment.html>


More information about the Cplusplus-sig mailing list