Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-05-26 10:32:44


on Wed May 23 2007, Arthur Coleman <banslug-AT-covad.net> wrote:

> bjam --toolset=darwin test
>
> I receive the following errors:
>
> Jamroot:18: in modules.load
> 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
>
> Can someone help me since I can't figure out what I'm doing wrong.
> By the way, I have tried as a superuser and get the same errors. It
> seemed that I was able to successfully install boost from the
> boost.../build director with the ./configure --toolset=darwin --show-
> libraries ect.
>
> Thanks in advance,

On line 16 of Jamroot please insert the line

   import python ;

and see if it then works.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk