Boost C++ Libraries: Ticket #9534: b2 emits link.jam No such file https://svn.boost.org/trac10/ticket/9534 <p> On a fresh download, having done bootstrap.bat on Windows, I get: </p> <p> D:\Code\boost\boost_1_55_0 </p> <blockquote class="citation"> <p> b2 --build-type=complete stage </p> </blockquote> <p> link.jam: No such file or directory </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9534 Trac 1.4.3 Richard <legalize@…> Mon, 30 Dec 2013 00:05:18 GMT <link>https://svn.boost.org/trac10/ticket/9534#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:1</guid> <description> <p> I'm using Visual Studio 2012 and Windows 7. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 13 Jan 2014 22:11:56 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/9534#comment:2 https://svn.boost.org/trac10/ticket/9534#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket anonymous Fri, 17 Jan 2014 08:59:40 GMT <link>https://svn.boost.org/trac10/ticket/9534#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:3</guid> <description> <p> On MacOS, Compiling for iOS with llvm5.0 we have the same problem </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Mon, 20 Jan 2014 05:34:02 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:4</guid> <description> <p> This is a result of too-eager merge into release branch for 1.55, this problem does not exist in current git. Even in 1.55, this is just a diagnostic, and does not break anything. </p> <p> So, unless I somehow misunderstood the problem, I'm gonna close this issue as wontfix. </p> </description> <category>Ticket</category> </item> <item> <author>Richard <legalize@…></author> <pubDate>Mon, 20 Jan 2014 19:52:47 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:5</guid> <description> <p> Fine, although it sounds like you're saying it's already fixed, as opposed to won't be fixed. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 10 Mar 2014 22:27:28 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9534#comment:6 https://svn.boost.org/trac10/ticket/9534#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket anonymous Tue, 13 May 2014 07:30:02 GMT <link>https://svn.boost.org/trac10/ticket/9534#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:7</guid> <description> <p> ... </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 24 Jul 2014 08:12:38 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:8</guid> <description> <p> I've got the same error </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 24 Jul 2014 08:13:23 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:9</guid> <description> <p> Same error on Visual Studio 2012 and Windows 7 x86 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sun, 03 Aug 2014 10:21:21 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:10</guid> <description> <p> Run the bootstarper as administrator in your build cmd environment. and run bjam as admin </p> </description> <category>Ticket</category> </item> <item> <author>manoj.patil@…</author> <pubDate>Fri, 05 Dec 2014 11:58:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:11 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:11</guid> <description> <p> I am getting same error on Ubantu. </p> <p> link.jam: No such file or directory </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Fri, 05 Dec 2014 12:02:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:12 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:12</guid> <description> <p> Hi, </p> <p> it should not be an error, just a warning, and the build should continue after that. Is that the case? </p> <p> Also, it's fixed in git. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 05 Dec 2014 12:07:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:13 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:13</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/9534#comment:12" title="Comment 12">vladimir_prus</a>: </p> <blockquote class="citation"> <p> Hi, </p> <p> it should not be an error, just a warning, and the build should continue after that. Is that the case? </p> <p> Also, it's fixed in git. </p> </blockquote> <p> Thanks for the quick reply... </p> <p> But i am getting an error like this - </p> <p> Manoj@firstouch-Vostro-1540:~/mosesDemo/boost_1_55_0$ ./bjam --with-boost=~/workspace/temp/boost_1_55_0 -j8 link.jam: No such file or directory error: wrong library name 'boost=~/workspace/temp/boost_1_55_0' in the --with-&lt;library&gt; option. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Fri, 05 Dec 2014 12:11:20 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:14 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:14</guid> <description> <p> The error you get is due to the --with-boost option - which does not exist, it's unrelated to link.jam. </p> <p> What are you trying to accomplish with that option? If you want to use a different build directory, use --build-dir. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 05 Dec 2014 12:19:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:15 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:15</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/9534#comment:14" title="Comment 14">vladimir_prus</a>: </p> <blockquote class="citation"> <p> The error you get is due to the --with-boost option - which does not exist, it's unrelated to link.jam. </p> <p> What are you trying to accomplish with that option? If you want to use a different build directory, use --build-dir. </p> </blockquote> <p> Hi, </p> <p> I am following just steps described in document given below - </p> <p> like - </p> <blockquote> <p> tar zxvf boost_1_55_0.tar.gz cd boost_1_55_0/ ./bootstrap.sh </p> <table class="wiki"> <tr>./b2 -j8 --prefix=$PWD --libdir=$PWD/lib64 --layout=system link=static install <td> echo FAILURE </td></tr></table> </blockquote> <p> Once boost is installed, you can then compile Moses. However, you must tell Moses where boost is with the --with-boost flag. This is the exact commands I use to compile Moses: </p> <blockquote> <p> ./bjam --with-boost=~/workspace/temp/boost_1_55_0 -j8 </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Fri, 05 Dec 2014 12:24:31 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:16 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:16</guid> <description> <p> I am not familiar with what Moses is, but I believe the last command must be run from the source directory of Moses, and you appear to be running it from source of Boost C++ libraries. Could you go to source dir of Moses, and try this </p> <pre class="wiki"> ~/workspace/temp/boost_1_55_0/b2 --with-boost=~/workspace/temp/boost_1_55_0 -j8 </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 11 Nov 2015 22:46:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9534#comment:17 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9534#comment:17</guid> <description> <p> Thank you vladimir_prus. I got the same issue and have to exec bjam under the mosesdecoder folder, ex: cd /usr/local/src/mosesdecoder/ ./bjam --with-boost=/usr/local/src/boost_1_55_0 -j4 </p> </description> <category>Ticket</category> </item> </channel> </rss>