[1.34.0] problem building bjam
Hi, I tried reporting this over in the .devel group, but it seems to have been filtered out by the moderator, as it never got posted. However, I believe this is a problem that needs to be addressed. Can someone else confirm this? The build script for building bjam with a Borland compiler on Windows assumes the compiler root folder to be C:\Borland\BCC55. Since my system does not use the free command line Borland compiler (and thus does not use the default path), I specified "borland" as my toolset on the command line: c:> build.bat borland This effectively disables the assumed path and attempts to determine the actual path to the compiler. It successfully and correctly determines the path to be "C:\Program Files\Borland\CBuilder5\," but the script subsequently fails to build, giving the message: [COMPILE] bin.ntx86\bjam.exe Error E2194: Could not find file 'Files\Borland\CBuilder5\Bin\..\Include.cpp' Error E2194: Could not find file 'Files\Borland\CBuilder5\Bin\..\Lib.cpp' Just prior to the error, the following is visible: c:\source\3rdParty\boost\boost_1_34_0\tools\jam\src>.\bootstrap\jam0 -f build.jam --toolset=borland "--toolset-root=C:\Program Files\Borland\CBuilder5\Bin\..\ " Indicating that a path containing spaces ("Program Files") apparently confuses the script. My solution to this problem was to create a path corresponding to the assumed path (using linkd to create a junction-point so that I didn't have to re-install the compiler!) and let the script guess which toolset to use. Fortunately, it guesses correctly (borland as opposed to msvc) which results in the assumed path of "c:\borland\bcc55" which then works, thanks to my junction-point. While I was able to get around this problem fairly easily, it probably would have been more difficult if I were not using NTFS (and its support for junction points). I'm not certain, but I would expect this to be a problem for any compiler whose path contains a space -- or did I miss something that is already well-known and/or obvious? - Dennis
"Dennis Jones"
Just prior to the error, the following is visible:
c:\source\3rdParty\boost\boost_1_34_0\tools\jam\src>.\bootstrap\jam0 -f build.jam --toolset=borland "--toolset-root=C:\Program Files\Borland\CBuilder5\Bin\..\ "
Indicating that a path containing spaces ("Program Files") apparently confuses the script.
The lack of responses to my query indicates that either nobody knows the answer or I am the only person that thinks this is a problem. If this really is a problem, I would have expected Boost developers to comment or suggest alternative solutions. On the other hand, if it is not a problem, I would have expected someone to quickly point out an error in my use of the script. But neither has happened, so I'm left wondering... Can anyone offer any insight, or confirm or reject my assertion that a problem exists? - Dennis
Dennis Jones wrote:
"Dennis Jones"
wrote in message news:f153hv$g9q$1@sea.gmane.org... Just prior to the error, the following is visible:
c:\source\3rdParty\boost\boost_1_34_0\tools\jam\src>.\bootstrap\jam0 -f build.jam --toolset=borland "--toolset-root=C:\Program Files\Borland\CBuilder5\Bin\..\ "
Indicating that a path containing spaces ("Program Files") apparently confuses the script.
The lack of responses to my query indicates that either nobody knows the answer or I am the only person that thinks this is a problem. If this really is a problem, I would have expected Boost developers to comment or suggest alternative solutions. On the other hand, if it is not a problem, I would have expected someone to quickly point out an error in my use of the script. But neither has happened, so I'm left wondering...
Can anyone offer any insight, or confirm or reject my assertion that a problem exists?
Sorry, Dennis... I haven't gotten a chance to look at your problem. Although I can confirm it's a problem :-) You might want to try the bjam version from the Boost CVS HEAD repo. I made some changes some time ago that should address spaces in paths. But I can't guarantee it will help. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
"Rene Rivera"
Can anyone offer any insight, or confirm or reject my assertion that a problem exists?
Sorry, Dennis... I haven't gotten a chance to look at your problem. Although I can confirm it's a problem :-) You might want to try the bjam version from the Boost CVS HEAD repo. I made some changes some time ago that should address spaces in paths. But I can't guarantee it will help.
Thank you, Rene. As I mentioned before, I was able to work around the problem myself, so it is not holding me up. All I really wanted was a confirmation that the problem is real, and that some responsible person was aware of it and could fix it at some point in the future. Thanks again, - Dennis
participants (2)
-
Dennis Jones
-
Rene Rivera