Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-03 04:01:00

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' .....

The quotation marks would allow me to figure out the empty element, and
so detect why it's there. I could just add code to filter out empty
elements, but if possible, I'd like to also know why there are present.

>> 2. Go to control panel and tell the values of "PATH" "Path" and "path"
>> variables (whichever exist).
> PATH = C:\Program Files\OpenVPN\bin
> Path = C:\texmf\miktex\bin;C:\Program
> Files\Intel\Fortran\compiler80\IA32\BIN;C:\Program
> Files\Intel\Fortran\IDB73\Bin;C:\Program
> Files\Intel\MKL61\ia32\bin;C:\IBMDebug\bin;C
> Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft
> Visual Studio\Common\Msdev98\BIN;C:\Program Files\Microsoft Visual
> Studio\DF98\BIN;C:\Program Files\Microsoft Visual
> Studio\VC98\BIN;%SystemRoot%\system32;%SystemRoot%
> and
> Settings\tk\bin\;C:\Vim\vim62;C:\Python22;C
> Files\hdf;c:\Program
> Files\hdf\zlib114\dll;c:\ext_projects\python\dist\src\PCBuild
>> I suspect that some variable looks like
>> PATH=foo;bar;;biz
>> and that confuses common.find-tool.
> I don't see any ';;' inside the path variables.

Neither do I. The only crazy idea I have is that %SystemRoot% expands to
nothing, but that would break too much.

- Volodya

BTW, since we seem to be in the same timezone, you might want to use more
responsive communication medium.
I'm vladimir_prus_at_[hidden] via Jabber, 100422315 via ICQ,
and I also hand in #boost IRC
channel on

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at