Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-03 05:18:54


Toon Knapen wrote:

> Vladimir Prus wrote:
>
>>
>> Toon Knapen wrote:
>>
>>
>>>Vladimir Prus wrote:
>>>
>>>
>>>
>>>>Could you:
>>>>1. Add the following code right at the beginning of 'common.find-tool'
>>>>and tell me what's printed.
>>>>
>>>> local p = [ modules.peek : PATH Path path ] ;
>>>> ECHO '$(p)' ;
>>>
>>>
>>>see attachment
>>
>>
>> Are you sure you've copied the code verbatim? Especially the quotation
>> marks? The output I get looks like:
>>
>> '/home/ghost/bin' '/usr/local/bin' '/usr/local/sbin' .....
>>
>
>
> euh no. Here is the output _with_ the quotation marks. Indeed the last
> element is empty. I have no idea where it comes from. I checked the
> definitions of the path env.vars in the control-panel but there is no
> space added at the end.

Could you try adding this in the beginning of the same function
instead of the code I've posted previously:

local p = [ modules.peek : PATH ] ;
ECHO PATH '$(p)' ;
p = [ modules.peek : Path ] ;
ECHO Path '$(p)' ;
p = [ modules.peek : path ] ;
ECHO path '$(p)' ;

Maybe this will give more info. Are you sure you don't set 'path' variable
anywhere?

> > I'm vladimir_prus_at_[hidden] via Jabber, 100422315 via ICQ,
> > and I also hand in #boost IRC
> > channel on irc.freenode.net.
>
> Because of our firewall I can't connect to IRC. Anyway, this problem
> might be interesting for others to read about too on the ml.

Ok.

- Volodya

 


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