Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-03 07:23:27

Toon Knapen wrote:

> > Interesting: the 'Path' reported here is different from what you've
> > reported from the registry.
> The difference I see is that inside bjam PATH seems to be empty (in my
> control pannel specified to be 'C:\Program Files\OpenVPN\bin') and that
> that Path contains this extra 'C:\Program Files\OpenVPN\bin'. So
> apparantly somewhere the content of 'PATH' gets moved to 'Path'.
> Do you refer to this same difference?

Nope. Here's registry settings you've posted:

PATH = C:\Program Files\OpenVPN\bin

Path = C:\texmf\miktex\bin;C:\Program
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

And there's bjam output:
Path 'C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE' 'C:
\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN' 'C:\Program
Files\Microsoft Visual Studio .NET 2003\Common7\Tools' 'C:\Program
Files\Microsoft Visual Studio .NET 2003\Common7\Tools\bin\prerelease' 'C:
\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\bin' 'C:
\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin' 'C:
\WINDOWS\Microsoft.NET\Framework\v1.1.4322' '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:\MSC.Software\MSC.Patran\2003\bin' 'C:\Program
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' 'C:
\WINDOWS\system32' 'C:\WINDOWS' 'C:\WINDOWS\System32\Wbem' 'c:\Documents and
Settings\tk\bin\' 'C:\Vim\vim62' 'C:\Python22' 'C:
\cvstop\fftown\build\devstudio\fft_actranae\Debug' 'C:
\cvstop\fftown\build\devstudio\fft_actranae\Release' 'C:
\cvstop\fftown\build\devstudio\fft_actranae_mp\Debug' 'c:\cvstop\boxpro\bin'
'c:\cvstop\tools\bin' 'c:\cvstop\actran\bin' 'C:\MPICH\mpd\bin' 'C:
\cvstop\femtown\dll' 'c:\Program Files\hdf' 'c:\Program
Files\hdf\zlib114\dll' 'c:\ext_projects\python\dist\src\PCBuild' 'C:\Program
Files\OpenVPN\bin' ''

I note that, for example, the C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE' path is not present in the registry. It looks like the path
that bjam sees is composed from

1. VC paths (from vcvars32.bat, maybe)
2. Value of registry's Path
3. Value of registry's PATH
4. The empty element.

I'm at loss now.

> > Maybe, you change it somewhere else? As the last test,
> > could you do
> >
> > echo %PATH%
> Echoing %PATH%, %Path% and %path% all result in the same output which is
> also a concatenation of the 'PATH' and 'Path' I set in my control pannel.
> > Now that I'm sure the empty value comes from 'Path' (I suspected
> > non-existing 'path' too), I've comitted a change which should avoid the
> > error. Could you try it?
> I don't know what you changed exactly but it works !!!! Brilliant.


- Volodya


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