[Boost-bugs] [Boost C++ Libraries] #11120: Problem compile with python 3 support.

Subject: [Boost-bugs] [Boost C++ Libraries] #11120: Problem compile with python 3 support.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-18 09:07:07


#11120: Problem compile with python 3 support.
---------------------+------------------------------
 Reporter: tele | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.57.0
 Severity: Problem | Keywords:
---------------------+------------------------------
 {{{
 ./bootstrap.sh --with-python=/usr/bin/python3 --with-python-root=/usr
 ./b2
 ...
 gcc.compile.c++ bin.v2/libs/python/build/gcc-4.9.2/release/threading-
 multi/object/function_doc_signature.o
 In file included from ./boost/python/detail/prefix.hpp:13:0,
                  from ./boost/python/converter/registrations.hpp:8,
                  from libs/python/src/object/function_doc_signature.cpp:9:
 ./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No
 such file or directory
  # include <pyconfig.h>
                        ^
 compilation terminated.

     "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/python3.4" -c -o
 "bin.v2/libs/python/build/gcc-4.9.2/release/threading-
 multi/object/function_doc_signature.o"
 "libs/python/src/object/function_doc_signature.cpp"

 ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.9.2/release
 /threading-multi/object/function_doc_signature.o...
 ...skipped <pbin.v2/libs/python/build/gcc-4.9.2/release/threading-
 multi>libboost_python.so.1.57.0 for lack of
 <pbin.v2/libs/python/build/gcc-4.9.2/release/threading-multi>numeric.o...
 ...skipped <pstage/lib>libboost_python.so.1.57.0 for lack of
 <pbin.v2/libs/python/build/gcc-4.9.2/release/threading-
 multi>libboost_python.so.1.57.0...
 ...skipped <pstage/lib>libboost_python.so for lack of
 <pstage/lib>libboost_python.so.1.57.0...
 ...skipped <pbin.v2/libs/python/build/gcc-4.9.2/release/threading-
 multi>libboost_python3.so.1.57.0 for lack of
 <pbin.v2/libs/python/build/gcc-4.9.2/release/threading-multi>numeric.o...
 ...skipped <pstage/lib>libboost_python3.so.1.57.0 for lack of
 <pbin.v2/libs/python/build/gcc-4.9.2/release/threading-
 multi>libboost_python3.so.1.57.0...
 ...skipped <pstage/lib>libboost_python3.so for lack of
 <pstage/lib>libboost_python3.so.1.57.0...
 ...
 ...failed updating 56 targets...
 ...skipped 12 targets...
 ...updated 1062 targets...

 }}}
 [[BR]]
 System: PCLinuxOS 32bit Mate[[BR]]

 gcc: 4.92[[BR]]

 pkgconfig: 0.28[[BR]]

 python2: 2.7.6[[BR]]

 python3: 3.4.2[[BR]]


 I want add log from compile, but I don't know how.

 How I can find pyconfig.h ?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11120>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC