Boost C++ Libraries: Ticket #2170: quotes in path string must be removed: build.bat https://svn.boost.org/trac10/ticket/2170 <p> in boost-jam-3.1.16: build.bat: line 287: set "PATH=%BOOST_JAM_TOOLSET_ROOT%bin;%PATH%" </p> <p> need to strip " from path if possible...quotes in %PATH% resulted fatally without notification. else, add warning/fixme if test for quotes is positive. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2170 Trac 1.4.3 Vladimir Prus Wed, 06 Aug 2008 04:09:50 GMT owner changed https://svn.boost.org/trac10/ticket/2170#comment:1 https://svn.boost.org/trac10/ticket/2170#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Vladimir Prus</span> to <span class="trac-author">René Rivera</span> </li> </ul> Ticket René Rivera Sun, 23 Nov 2008 00:05:50 GMT status, version, component, milestone changed https://svn.boost.org/trac10/ticket/2170#comment:2 https://svn.boost.org/trac10/ticket/2170#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.35.0</span> → <span class="trac-field-new">Boost.Jam 3.1.16</span> </li> <li><strong>component</strong> <span class="trac-field-old">build</span> → <span class="trac-field-new">bjam</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.36.0</span> → <span class="trac-field-new">Boost.Jam 3.1.17</span> </li> </ul> Ticket René Rivera Sun, 23 Nov 2008 05:00:12 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2170#comment:3 https://svn.boost.org/trac10/ticket/2170#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> It is extremely hard to remove quotes on any variables in Windows in a portable manner. To the point that it's not worth supporting for what is techincally an illegal use case. The PATH var, or any var for that matter, on Windows should ever be set to have quotes in it. If there is a program that is adding quotes in there it is that programs bug not bjam's bug. </p> Ticket rafael.anschau@… Fri, 25 May 2012 18:34:26 GMT <link>https://svn.boost.org/trac10/ticket/2170#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2170#comment:4</guid> <description> <p> I downloaded boost and when I runed bootstrap.bat, it endeded without either stating success or failure, complaining it didn´t understand something on my path. I debugged boostrap.bat and found the problem was when calling build.bat with: </p> <p> call .\build.bat %* &gt; ..\..\..\..\bootstrap.log </p> <p> The string had double quotes(sorry I no longer have the message) , and hypothesized that it didn´t understand double quotes. So I removed the quotes and it built fine. </p> <p> build.bat should at least say something like "Sorry, bad PATH variable, couldn´t understand ...") to save the installer´s debugging time. Otherwise people will loose lots of time debugging the same problem.(Expecting other app developer not to add quotes is not realistic). Another solution is to write on the install documentation of boost: "Make sure that, before you run bootstrap.bat, your path doesn´t have double quotes. If it does, remove them." </p> </description> <category>Ticket</category> </item> </channel> </rss>