[Boost-bugs] [Boost C++ Libraries] #1005: Unable to compile Python example, tutorial, or quickstart with Boost 1_34_0

Subject: [Boost-bugs] [Boost C++ Libraries] #1005: Unable to compile Python example, tutorial, or quickstart with Boost 1_34_0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-05-28 15:38:43


#1005: Unable to compile Python example, tutorial, or quickstart with Boost 1_34_0
-------------------------------+--------------------------------------------
 Reporter: banslug_at_[hidden] | Owner: dave
     Type: Bugs | Status: new
Milestone: | Component: Python
  Version: | Severity: Showstopper
 Keywords: |
-------------------------------+--------------------------------------------
 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

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1005>
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:49:55 UTC