|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-13 06:43:11
On Wednesday 13 April 2005 15:04, David Abrahams wrote:
> >> This is with the very latest and a freshly-built bjam.
> >>
> >> -*- mode: compilation; default-directory: "c:/boost/libs/python/test/"
> >> -*- bjam --v2
> >> c:/boost/tools/build/v2/build\project.jam:456: in inherit-attributes
> >> warning: rulename $(pattributes).get expands to empty string
> >
> > Strange, I've got a fresh copy and run 'bjam' in example/hello under
> > different user, and it works fine. Do you have any modifications
> > site-config.jam/user-config.jam files in V2 tree, or did you create
> > your own?
>
> Of course I have my own.
>
> > What if you make the files empty.
>
> That shouldn't be necessary, but... I removed the copies in $HOME
> and:
>
> -*- mode: compilation; default-directory: "c:/boost/libs/python/test/"
> -*- bjam --v2
> warning: Python location is not configured
> warning: the Boost.Python library won't be built
> ******************************************************
>
> Building Boost.Regex with Unicode/ICU support disabled.
> HINT: define the environment variable ICU_PATH to point to the
> root directy of your ICU installation if you have one.
> Couldn't find utypes.h in
>
> ******************************************************
> warning: no toolsets are configured.
> warning: you won't be able to build C++ programs.
> warning: please consult the documentation.
>
> error: Unable to find file or target named
> error: '/boost/python//boost_python'
> error: referred from project at
> error: '.'
>
> > What's the output of "bjam --debug-loading" ?
>
> After I restore user-config.jam and site-config.jam:
>
> bjam --v2 --debug-loading
> Initializing project 'site-config'
> Assigned project target object(project-target)@1 to 'site-config'
> Initializing project 'stlport'
> c:/boost/tools/build/v2/build\project.jam:456: in inherit-attributes
> warning: rulename $(pattributes).get expands to empty string
Ouch! The site-config file initializes stlport, which is a project itself, and
so tries to inherit from 'user-config', that's not defined yet!
I've modified the logic so that "standlone" project (those that don't
correspond to Jamfiles), do not inherit from user-config.
Can you try again?
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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