|
Boost-Build : |
From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2008-05-15 03:01:27
Hi Jurko,
My bad..its python.jam and it is imported in Jamfile.v2.
Although I am not all that new to boost I still don't know enough to create
a minimal project from bgl to reproduce error.
But hopefully this should give some idea.
bjam fails with following additional message
$(BOOST_ROOT)tools/build/v2/build/project.jam:313: in load-jamfile
$(BOOST_ROOT)tools/build/v2/build/project.jam:63: in load
...
...
$(BOOST_ROOT)tools/build/v2//boost-build.jam:8: in module scope
This seems to be list of jam files that bjam searched for while looking for
python.get-python-interpreter rule.
However python.jam is in directory $(BOOST_ROOT)/tools/build/v2/tools/. So
my guess is that bjam is unable to locate jam files in tools subdirectory.
Thanks for the prompt reply.
Sandeep
On Wed, May 14, 2008 at 10:42 PM, Jurko Gospodnetiæ <
jurko.gospodnetic_at_[hidden]> wrote:
> Hi Sandeep.
>
> > rule python.get-python-interpreter unknown in module
> > Jamfile<...../bgl-python>.
> >
> > This rule is defined in
> > $(BOOST-ROOT)/tools/build/v2/tools/python-config.jam which bjam is
> > unable to locate.
> >
> > I am using boost_1_35_0 with latest bgl.
>
> Are you sure about where this rule is located and/or how it is named?
> Because I just grepped through all the files in the tools folder and the
> get-python-interpreter rule is not mentioned anywhere.
>
> In case this is a rule that you added to the python-config module
> then you need to refer to it as 'python-config.get-python-interpreter'
> from other modules (unless you explicitly placed it in the 'python'
> module/namespace).
>
> Also... did you import the python-config module?
>
> Hmmm... can't think of anything else... I'd need a small example
> project reproducing this to help any further...
>
> Hope this helps.
>
> Best regards,
> Jurko Gospodnetiæ
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
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