Boost C++ Libraries: Ticket #1005: Unable to compile Python example, tutorial, or quickstart with Boost 1_34_0 https://svn.boost.org/trac10/ticket/1005 <p> When trying to compile Boost Python examples I received the following errors on a Mac using toolset=darwin and on a PC using toolset=msvc-8_0. </p> <p> rule python-extension unknown in module Jamfile&lt;/Users/arthurcoleman/Boost/boost_1_34_0/libs/python/example&gt;. /Users/arthurcoleman/Boost/boost_1_34_0/tools/build/v2/build/project.jam:312: in load-jamfile /Users/arthurcoleman/Boost/boost_1_34_0/tools/build/v2/build/project.jam:68: in load /Users/arthurcoleman/Boost/boost_1_34_0/tools/build/v2/build/project.jam:170: in project.find /Users/arthurcoleman/Boost/boost_1_34_0/tools/build/v2/build-system.jam:237: in load /Users/arthurcoleman/Boost/boost_1_34_0/libs/python/example/../../../tools/build/v2/kernel/modules.jam:261: in import /Users/arthurcoleman/Boost/boost_1_34_0/libs/python/example/../../../tools/build/v2/kernel/bootstrap.jam:132: in boost-build /Users/arthurcoleman/Boost/boost_1_34_0/libs/python/example/boost-build.jam:7: in module scope </p> <p> After adding import python ; per a suggestion from Dave Abrahams I was successfully able to compile all the examples on my Mac. I will test on Tuesday to confirm that it also fixes the problems I had on a PC. I am submitting this ticket per a request from Dave. </p> <p> Arhtur </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1005 Trac 1.4.3 Thomas Witt Tue, 29 May 2007 15:51:24 GMT milestone set https://svn.boost.org/trac10/ticket/1005#comment:1 https://svn.boost.org/trac10/ticket/1005#comment:1 <ul> <li><strong>milestone</strong> → <span class="trac-field-new">Boost 1.34.1</span> </li> </ul> Ticket René Rivera Wed, 30 May 2007 00:09:54 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1005#comment:2 https://svn.boost.org/trac10/ticket/1005#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> This is a duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/986" title="#986: Bugs: Problem building Python modules on boost 1.34.0 (closed: fixed)">#986</a>. </p> Ticket