Opened 10 years ago
Last modified 10 years ago
#6826 new Bugs
boost build fails to detect python3.2 correctly
Reported by: | Treeve Jelbert | Owned by: | Vladimir Prus |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
Description
bootstrap detects python3.2
but does not locate the library and include files correctly
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.
#/usr/bin/python3.2-config --includes -I/usr/include/python3.2m
#/usr/bin/python3.2-config --libs -lintl -lpthread -ldl -lutil -lm -lpython3.2m
or
$ pkg-config python-3.2 --cflags-only-I --libs-only-l -I/usr/include/python3.2m -lpython3.2m
Building in dir: /usr/src/boost_1_49_0 boost 1_49_0
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...
./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory compilation terminated.
"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"
Change History (3)
comment:1 by , 10 years ago
Component: | Python → Building Boost |
---|
comment:2 by , 10 years ago
Owner: | changed from | to
---|
comment:3 by , 10 years ago
Component: | Building Boost → build |
---|
could someone familiar with boost.build help out? (i don't have experience using boost.build or python 3.2)