Boost C++ Libraries: Ticket #7316: Build boost.python fails with python 3.2.3 https://svn.boost.org/trac10/ticket/7316 <pre class="wiki">$ ./b2 -q -d+2 variant=release link=shared threading=multi runtime-link=shared | grep err libs/mpi/src/python/datatypes.cpp:20:33: error: ‘PyInt_Type’ was not declared in this scope libs/mpi/src/python/py_environment.cpp:53:37: error: cannot convert ‘char**’ to ‘wchar_t**’ for argument ‘2’ to ‘void PySys_SetArgv(int, wchar_t**)’ $ uname -a Linux asus 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux $ python3 --version Python 3.2.3 $ echo "import sys; print( sys.prefix )" | python3 /usr $ cat project-config.jam | grep python using python : 3.2 : /usr ; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7316 Trac 1.4.3 Sergey Dmitriev <dmi3evsv@…> Sat, 01 Sep 2012 17:08:53 GMT attachment set https://svn.boost.org/trac10/ticket/7316 https://svn.boost.org/trac10/ticket/7316 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">build.log</span> </li> </ul> <p> build log </p> Ticket anonymous Tue, 12 Mar 2013 00:57:20 GMT <link>https://svn.boost.org/trac10/ticket/7316#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7316#comment:1</guid> <description> <p> Add </p> <p> #if PY_MAJOR_VERSION &gt;= 3 #define PyInt_Type PyLong_Type #endif </p> <p> at the begining of libs/mpi/src/python/datatypes.cpp </p> </description> <category>Ticket</category> </item> </channel> </rss>