Boost C++ Libraries: Ticket #4942: Searching for boost-build.jam https://svn.boost.org/trac10/ticket/4942 <p> Upon invocation bjam should also look for boost-build.jam in the Boost tree specified by the --boost=/path/to/Boost option if it can not find it anywhere else in its normal search path. </p> <p> This would allow any Boost-like library, using the directory structure suggested by the sandbox, to have its jamfiles execute properly even if it were not located within a Boost tree or beneath a top-level directory with its own boost-build.jam, as long as the bjam command had a --boost/path/to/Boost option pointing to a Boost distribution. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4942 Trac 1.4.3 Vladimir Prus Wed, 08 Dec 2010 09:34:50 GMT type changed https://svn.boost.org/trac10/ticket/4942#comment:1 https://svn.boost.org/trac10/ticket/4942#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Support Requests</span> → <span class="trac-field-new">Feature Requests</span> </li> </ul> <p> I am not sure this is the right solution. I plan soonish, you'll have two options: </p> <ol><li>Install Boost.Build (either from a standalone package, installer, or Boost SVN checkout) to a system location, and then "bjam" will automagically find Boost.Build files, no setup required, or </li></ol><ol start="2"><li>You'd build bjam with "./boostrap.{bat,sh}" and then add Boost root to your PATH, and again, Boost.Build will be found automagically. </li></ol><p> Will those options work for you? </p> Ticket Edward Diener Wed, 08 Dec 2010 14:14:57 GMT <link>https://svn.boost.org/trac10/ticket/4942#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4942#comment:2</guid> <description> <p> These are my comments about your two alternate solutions: </p> <p> 1) This would remove Boost Build's connection to a particular Boost distribution. Are you sure you want to install Boost Build separately from Boost ? Also, unless you have an installation program when you are distributing Boost Build separately, it is hard to understand how you will find Boost Build automagically from just an SVN checkout somewhere. </p> <p> 2) Adding Boost root to the PATH is horrible. Lots of people have multiple Boost installations. Changing the PATH ( or any environment variable ) with each new Boost distribution is definitely not the way to go. </p> <p> I do not understand what is wrong with letting the end-user point to a Boost installation with the --boost=/path/to/Boost option and using that, as a last resort, to find Boost Build. It is obviously the most flexible way for the user of Boost Build and can not be that hard to program. Tying Boost Build to a single location, when end-users may have multiple Boost installations on their system and need to test some Boost library against any of them, does not seem the way to do things. Try to put yourself in the end-user's position rather than in your position as the primary Boost Build developer. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 17 Dec 2010 18:05:55 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4942#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4942#comment:3</guid> <description> <p> Currently the situation is that bjam is separate and Boost.Build is tied to Boost. This doesn't really make sense, because bjam and Boost.Build are two halves of the same tool. Installing them as a single unit avoids the ugly search that we have right now. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Thu, 31 Mar 2011 00:58:38 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/4942#comment:4 https://svn.boost.org/trac10/ticket/4942#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">René Rivera</span> to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">bjam</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket