Opened 15 years ago

Closed 15 years ago

#1005 closed Bugs (duplicate)

Unable to compile Python example, tutorial, or quickstart with Boost 1_34_0

Reported by: banslug@… Owned by: Dave Abrahams
Milestone: Boost 1.34.1 Component: python USE GITHUB
Version: Severity: Showstopper
Keywords: Cc: dave@…

Description

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.

rule python-extension unknown in module Jamfile</Users/arthurcoleman/Boost/boost_1_34_0/libs/python/example>. /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

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.

Arhtur

Change History (2)

comment:1 by Thomas Witt, 15 years ago

Milestone: Boost 1.34.1

comment:2 by René Rivera, 15 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #986.

Note: See TracTickets for help on using tickets.