|
Boost-Build : |
Subject: Re: [Boost-build] Big trouble trying to build bjam in Windows XP sp3 because of the path and file names with white spaces
From: Estanislao Chapel (Estanislao.Chapel_at_[hidden])
Date: 2008-10-16 05:07:39
I found what the real problem was at last .
It's known that Windows XP disable by default the creation of Short File Names (SFN) in old DOS 8.3 format. Though, when I installed my Borland 2007 no short file/path names were created.
The build.bat and jam0.exe use the old fashioned short names in their functions calls and for that they rely on the presence of those SFN.
The solution consisted in enabling temporarily the creation of 8.3 SNF in W XP Sp3. Then I created the needed SFN-s. After that I run the build.bat and the bjam.exe was created successfully.
The steps:
1 - fsutil behavior set disable8dot 3 0. Reboot the system.
2 - fsutil file setshortname "Rad Studio" RADSTU~1.
3 - Run build.bat
After I'd done I restored the disabled8dot3 to 1 and rebooted.
Have a pleasant day
/E
-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: Wednesday, October 15, 2008 7:22 PM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] Big trouble trying to build bjam in Windows XP sp3 because of the path and file names with white spaces
On Wednesday 15 October 2008 21:02:58 Estanislao Chapel wrote:
> The Bjam version is 1.36.0
> The problem is that when a path or file name as C:\program files\codegear\rad studio\.....
> Or c:\documents and settings\account\local settings\temp are used as arg parameters in Windows xp command mngr the white spaces means a new parameter. So in this case instead of the whole path the exec prog takes C:\program as 1st param files\codegear\rad as the second param an so on.
>
> In my case I get Error E2194: Could not find file 'files\codegear\rad.cpp'
And what command are you running to get this? I don't see how either build.bar or build.jam
can *ever* detect codegear at that location.
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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