[Boost-bugs] [Boost C++ Libraries] #986: Problem building Python modules on boost 1.34.0

Subject: [Boost-bugs] [Boost C++ Libraries] #986: Problem building Python modules on boost 1.34.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-05-23 17:12:56


#986: Problem building Python modules on boost 1.34.0
-------------------------+--------------------------------------------------
 Reporter: CarlosEDP | Type: Bugs
   Status: new | Milestone: Boost 1.34.1
Component: Python | Version: release 1.34.0
 Severity: Showstopper | Keywords:
-------------------------+--------------------------------------------------
 When trying to build a Python module from the Tutorial quickstart from
 libs\python\example\quickstart , I ran "bjam --toolset=gcc release" using
 mingw under WindowsXP. The following error happens:

 C:\Carlos\Apps\boost_1_34_0\libs\python\example\quickstart>bjam
 --toolset=gcc release
 Jamroot:17: in modules.load
 rule python-extension unknown in module
 Jamfile</C:/Carlos/Apps/boost_1_34_0/lib
 s/python/example/quickstart>.
 C:/Carlos/Apps/boost_1_34_0/tools/build/v2/build\project.jam:312: in load-
 jamfil
 e
 C:/Carlos/Apps/boost_1_34_0/tools/build/v2/build\project.jam:68: in load
 C:/Carlos/Apps/boost_1_34_0/tools/build/v2/build\project.jam:170: in
 project.fin
 d
 C:/Carlos/Apps/boost_1_34_0/tools/build/v2\build-system.jam:237: in load
 C:\Carlos\Apps\boost_1_34_0\libs\python\example\quickstart\..\..\..\..\tools\bui
 ld\v2/kernel\modules.jam:261: in import
 C:\Carlos\Apps\boost_1_34_0\libs\python\example\quickstart\..\..\..\..\tools\bui
 ld\v2/kernel/bootstrap.jam:132: in boost-build
 C:\Carlos\Apps\boost_1_34_0\libs\python\example\quickstart\boost-
 build.jam:7: in
  module scope


 The problem is in: rule python-extension unknown in module Jamfile.

 After talking to some people on #boost, I changed the file:

 tools/build/v2/user-config.jam

 and added: using python ;

 After this, the module compiles correctly.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/986>
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