Boost C++ Libraries: Ticket #6826: boost build fails to detect python3.2 correctly https://svn.boost.org/trac10/ticket/6826 <p> bootstrap detects python3.2 </p> <p> but does not locate the library and include files correctly </p> <p> This is because when python3.2 is built with threading support, which is default on Linux, the include subdirectory and library are named python${VERSION}m, with the letter 'm' appended. </p> <p> #/usr/bin/python3.2-config --includes -I/usr/include/python3.2m </p> <p> #/usr/bin/python3.2-config --libs -lintl -lpthread -ldl -lutil -lm -lpython3.2m </p> <p> or </p> <p> $ pkg-config python-3.2 --cflags-only-I --libs-only-l -I/usr/include/python3.2m -lpython3.2m </p> <p> Building in dir: /usr/src/boost_1_49_0 boost 1_49_0 </p> <p> Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2 Detecting Python version... 3.2 Detecting Python root... /usr Unicode/ICU support for Boost.Regex?... /usr Generating Boost.Build configuration in project-config.jam... </p> <p> ./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory compilation terminated. </p> <blockquote> <p> "g++" -ftemplate-depth-128 -Wno-strict-aliasing -march=native -mtune=native -m64 -pipe -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/include/python3.2" -c -o "bin.v2/libs/python/build/gcc-4.7.0/release/threading-multi/numeric.o" "libs/python/src/numeric.cpp" </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6826 Trac 1.4.3 Ralf W. Grosse-Kunstleve Tue, 24 Apr 2012 19:01:40 GMT component changed https://svn.boost.org/trac10/ticket/6826#comment:1 https://svn.boost.org/trac10/ticket/6826#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">Python</span> → <span class="trac-field-new">Building Boost</span> </li> </ul> <p> could someone familiar with boost.build help out? (i don't have experience using boost.build or python 3.2) </p> Ticket Ralf W. Grosse-Kunstleve Tue, 24 Apr 2012 19:04:59 GMT owner changed https://svn.boost.org/trac10/ticket/6826#comment:2 https://svn.boost.org/trac10/ticket/6826#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Ralf W. Grosse-Kunstleve</span> to <span class="trac-author">Vladimir Prus</span> </li> </ul> Ticket viboes Thu, 03 Jan 2013 17:54:50 GMT component changed https://svn.boost.org/trac10/ticket/6826#comment:3 https://svn.boost.org/trac10/ticket/6826#comment:3 <ul> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket