Boost logo

Boost-Build :

Subject: Re: [Boost-build] error with 'import platform ;'
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-03-22 17:05:54

Oliver Kowalke wrote:

> Hello Vladimir,
> I'm sorry - it doesn't work for me (maybe I did something wrong).
> $ bjam
> /boost/libs/fiber/build/pyutils.jam:2: in load
> rule PYTHON_IMPORT_RULE unknown in module pyutils.
> /boost/tools/build/v2/kernel/modules.jam:283: in modules.import
> /boost/tools/build/v2/build/project.jam:903: in import
> ../../../libs/fiber/build/Jamfile.v2:17: in modules.load
> I put the pyutils.* files into the build dir of boost.fiber and added
> the content of your jamroot.jam to the Jamfile.v2 of my lib.
> Any idea what goes wrong?

Yes. You have not built bjam with Python support. You need to go
to bjam source dir and do:

        ./ --with-python=/usr

assuming you're on linux and have Python headers and libraries installed.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at