Boost logo

Boost :

Subject: Re: [boost] Can't build in status?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-02-27 12:15:41


AMDG

On 02/27/2016 09:57 AM, John Maddock wrote:
> <snip>
> Breakpoint 1, class_at_property-map.find ( object(property-set)@149526 ) at
> M:/data/boost/boost-master/tools/build/src/build\property.jam:743
> 743 errors.error "Ambiguous key $(properties:J= :E=)" ;
> (b2db) print $($(best))
>

  My mistake. It should be $(best), but the
next one shows everything I need to see
anyway.

> (b2db) print $($(self.all-flags))
> <.pyd> <python>2.5 <target-os>windows <.pyd> <python>2.5 <target-os>windows
> (b2db)
>

That definitely looks like python is getting initialized twice.

> Note that I actually have:
>
> $ python --version
> Python 2.7.10
>

  The 2.5 is probably coming from python.jam:808.
If this path is reached, then .configured will not
be set, which means that if project-config.jam has

if ! [ python.configured ]
{
    using python ;
}

it will attempt to initialize python a second time.

  I expect that running with --debug-configuration
will show that the python headers and/or libraries
are not being found for some reason.

In Christ,
Steven Watanabe


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