rule python-extension unknown in module Jamfile
Hello, I am trying to get started with boost.python. When following the tutorial http://www.boost.org/doc/libs/1_37_0/libs/python/doc/tutorial/doc/html/pytho... I get the same problems that have been described in https://bugs.launchpad.net/ubuntu/+source/boost/+bug/164551, namely: $ bjam --toolset=gcc test Jamroot:18: in modules.load rule python-extension unknown in module Jamfile. /usr/share/boost-build/build/project.jam:312: in load-jamfile /usr/share/boost-build/build/project.jam:68: in load /usr/share/boost-build/build/project.jam:170: in project.find /usr/share/boost-build/build-system.jam:248: in load /usr/share/boost-build/kernel/modules.jam:261: in import /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build /usr/share/doc/libboost-doc/examples/libs/python/example/boost-build.jam:7: in module scope $ This may be an Ubuntu problem, but there was no reaction on the bug report since one year. Can you suggest a solution or explain how to find the cause of the problems? (I am running Ubuntu 8.10 and have installed the packages (among others) libboost-python-dev libboost-python1.34.1 boost-build libboost-doc bjam) Thank you Patrick
AMDG Patrick Meier wrote:
Hello, I am trying to get started with boost.python. When following the tutorial http://www.boost.org/doc/libs/1_37_0/libs/python/doc/tutorial/doc/html/pytho... I get the same problems that have been described in https://bugs.launchpad.net/ubuntu/+source/boost/+bug/164551, namely: $ bjam --toolset=gcc test Jamroot:18: in modules.load rule python-extension unknown in module Jamfile.
There is a "using python" line in your user-config.jam, right? In Christ, Steven Watanabe
on Thu Nov 27 2008, Patrick Meier
Hello, I am trying to get started with boost.python. When following the tutorial http://www.boost.org/doc/libs/1_37_0/libs/python/doc/tutorial/doc/html/pytho... get the same problems that have been described in https://bugs.launchpad.net/ubuntu/+source/boost/+bug/164551, namely: $ bjam --toolset=gcc test Jamroot:18: in modules.load rule python-extension unknown in module Jamfile. /usr/share/boost-build/build/project.jam:312: in load-jamfile /usr/share/boost-build/build/project.jam:68: in load /usr/share/boost-build/build/project.jam:170: in project.find /usr/share/boost-build/build-system.jam:248: in load /usr/share/boost-build/kernel/modules.jam:261: in import /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build /usr/share/doc/libboost-doc/examples/libs/python/example/boost-build.jam:7: in module scope $
This may be an Ubuntu problem, but there was no reaction on the bug report since one year. Can you suggest a solution or explain how to find the cause of the problems? (I am running Ubuntu 8.10 and have installed the packages (among others) libboost-python-dev libboost-python1.34.1 boost-build libboost-doc bjam)
As described in http://www.boost.org/doc/libs/1_37_0/more/getting_started/unix-variants.html..., we can't account for how repackagers decide to present boost. I suggest you download a real Boost release and try again. See also http://www.boost.org/doc/libs/1_37_0/libs/python/doc/building.html HTH, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
participants (3)
-
David Abrahams
-
Patrick Meier
-
Steven Watanabe