Boost logo

Boost-Build :

Subject: Re: [Boost-build] error with 'import platform ;'
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2010-03-21 15:09:15


Vladimir Prus schrieb:
> PYTHON_IMPORT_RULE platform : architecture : : platform.architecture ;

bjam reports an error:

../../../libs/fiber/build/Jamfile.v2:13: in modules.load
*** argument error
* rule PYTHON_IMPORT_RULE ( python-module : function : jam-module :
rule-name )
* called with: ( platform : architecture : : platform.architecture )
* missing argument jam-module
(builtin):see definition of rule 'PYTHON_IMPORT_RULE' being called

BTW the python platform.architectue() returns an tuple of two strings.
How can this be evaluated in bjam?

regards,
Oliver


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk