Boost logo

Boost Users :

Subject: Re: [Boost-users] rule python-extension unknown in module Jamfile
From: David Abrahams (dave_at_[hidden])
Date: 2008-11-28 22:35:30


on Thu Nov 27 2008, Patrick Meier <meierpatrick-AT-ymail.com> 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/python/hello.htmlI 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/doc/libboost-doc/examples/libs/python/example>.
> /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#id18,
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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net