Boost C++ Libraries: Ticket #9805: boost 1.55 in MacOSX 10.9.2 -- darwin.jam argument error https://svn.boost.org/trac10/ticket/9805 <p> hi all </p> <p> I'm trying to install boost on my mac in order to use cufflinks (genetic analysis software) which can't work without boost! I called the ./boostrap.sh and looks like everything worked fine, however, when I call </p> <pre class="wiki">./b2 install </pre><p> or </p> <pre class="wiki">bjam --prefix=/usr/local --toolset=darwin architecture=x86 address_model=64 link=static runtime-link=static runtime-link=static stage install </pre><p> the same error comes out: </p> <pre class="wiki">/Users/macbook/Downloads/boost_1_55_0/tools/build/v2/tools/darwin.jam:513: in load *** argument error * rule flags ( rule-or-module variable-name condition * : values * : unchecked ? : hack-hack ? ) * called with: ( darwin.link.dll OPTIONS : -headerpad_max_install_names; flags darwin.link OPTIONS &lt;runtime-link&gt;static : -nodefaultlibs -shared-libgcc -lstdc++-static -lgcc_eh -lgcc -lSystem ) * extra argument -shared-libgcc /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/toolset.jam:119:see definition of rule 'flags' being called /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/kernel/modules.jam:289: in import /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/toolset.jam:39: in toolset.using /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/project.jam:1007: in using ../../../project-config.jam:12: in modules.load /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build-system.jam:249: in load-config /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build-system.jam:412: in load-configuration-files /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build-system.jam:524: in load /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/kernel/modules.jam:289: in import /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/kernel/bootstrap.jam:139: in boost-build /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/boost-build.jam:8: in module scope </pre><p> ...any suggestions on how to fix this? </p> <p> I can't find anything online that addresses it! </p> <p> thanks </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9805 Trac 1.4.3 Steven Watanabe Mon, 24 Mar 2014 15:00:44 GMT <link>https://svn.boost.org/trac10/ticket/9805#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9805#comment:1</guid> <description> <p> Your copy of darwin.jam is corrupted. On line 509, there should be a space before the semicolon. Is there any chance that you modified it? Which archive did you download? The 7z archive looks okay. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 24 Mar 2014 15:23:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9805#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9805#comment:2</guid> <description> <p> I downloaded the tar.gz file and unpacked it. thanks for the reply, I added the space before the semicolon and calling ./b2 it looks like it's building it correctly since I'm getting all the various verbose lines and it ends with </p> <pre class="wiki">...failed updating 21 targets... ...skipped 20 targets... ...updated 953 targets... </pre><p> however, calling </p> <pre class="wiki">bjam --prefix=/usr/local --toolset=darwin architecture=x86 address_model=64 link=static runtime-link=static runtime-link=static stage install </pre><blockquote> <p> i get the following </p> </blockquote> <pre class="wiki">warning: mismatched versions of Boost.Build engine and core warning: Boost.Build engine (bjam) is 03.1.18 warning: Boost.Build core (at /Users/macbook/Downloads/boost_1_55_0/tools/build/v2) is 2011.12-svn link.jam: No such file or directory /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/property.jam:290: in validate1 from module property error: Invalid property '&lt;address_model&gt;64': unknown feature 'address_model'. /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/property.jam:299: in property.validate from module property /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/build-request.jam:216: in convert-command-line-element from module build-request /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/build-request.jam:153: in build-request.from-command-line from module build-request /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build-system.jam:582: in load from module build-system /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/kernel/modules.jam:289: in import from module modules /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/kernel/bootstrap.jam:139: in boost-build from module /Users/macbook/Downloads/boost_1_55_0/boost-build.jam:17: in module scope from module </pre><p> any idea what that means? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 24 Mar 2014 15:33:55 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9805#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9805#comment:3</guid> <description> <ol><li>You're using the system bjam which may or may not work correctly with the version of Boost.Build in 1.55. </li><li>The link.jam warning is harmless. It was caused by an overeager merge of some of the work for the git transition. Loading it is simply skipped, which is okay because nothing in it is needed in 1.55. </li><li>The feature is called address-model not address_model. </li></ol> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 24 Mar 2014 15:43:34 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9805#comment:4 https://svn.boost.org/trac10/ticket/9805#comment:4 <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">worksforme</span> </li> </ul> <p> I have no idea what happened. I just downloaded boost_1_55_0.tar.gz from sourceforge, and darwin.jam does contain the space that was missing in your copy. </p> Ticket anonymous Mon, 24 Mar 2014 16:30:59 GMT <link>https://svn.boost.org/trac10/ticket/9805#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9805#comment:5</guid> <description> <p> thanks for the reply, I fixed the </p> <pre class="wiki">address_model </pre><blockquote> <p> to </p> <pre class="wiki">address-model </pre></blockquote> <p> , however now I get this error </p> <pre class="wiki">/Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/configure.jam:173: in builds-raw *** argument error * rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? ) * called with: ( &lt;pbin.v2/libs/regex/build/darwin-4.2.1/debug/address-model-64/architecture-x86&gt;has_icu : 3 : ignore-minus-n : ignore-minus-q ) * extra argument ignore-minus-q (builtin):see definition of rule 'UPDATE_NOW' being called /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/configure.jam:223: in configure.builds /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/configure.jam:258: in object(check-target-builds-worker)@946.check /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/kernel/modules.jam:106: in modules.call-in /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/util/indirect.jam:98: in indirect.call /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1033: in targets.evaluate-requirements /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1428: in basic-target.compute-usage-requirements /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/alias.jam:48: in compute-usage-requirements /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1353: in object(alias-target-class)@949.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:757: in generate-really /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:729: in object(main-target)@1513.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:874: in targets.generate-from-reference /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1245: in generate-dependencies /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1301: in object(typed-target)@952.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:757: in generate-really /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:729: in object(main-target)@1514.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:874: in targets.generate-from-reference /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1245: in generate-dependencies /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1299: in object(typed-target)@589.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:757: in generate-really /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:729: in object(main-target)@1495.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:272: in object(project-target)@576.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:874: in targets.generate-from-reference /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1245: in generate-dependencies /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1301: in object(install-target-class)@238.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:757: in generate-really /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:729: in object(main-target)@1174.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:874: in targets.generate-from-reference /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1245: in generate-dependencies /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:1301: in alias-target-class.generate /Users/macbook/Downloads/boost_1_55_0/boostcpp.jam:391: in build-multiple /Users/macbook/Downloads/boost_1_55_0/boostcpp.jam:353: in object(top-level-target)@245.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:757: in generate-really /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build/targets.jam:729: in object(main-target)@1178.generate /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/build-system.jam:707: in load /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/kernel/modules.jam:289: in import /Users/macbook/Downloads/boost_1_55_0/tools/build/v2/kernel/bootstrap.jam:139: in boost-build /Users/macbook/Downloads/boost_1_55_0/boost-build.jam:17: in module scope </pre><p> otherwise, which version of bjam is compatible with boost 1.55? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 24 Mar 2014 17:38:14 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9805#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9805#comment:6</guid> <description> <p> The version bundled with 1.55 is guaranteed to be compatible. Several versions back will probably work, but I don't know exact details off the top of my head. (Note: b2 is the new name for bjam.). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 24 Mar 2014 17:42:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9805#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9805#comment:7</guid> <description> <p> the bjam --&gt; ./b2 change made the trick! </p> <p> thanks for the help!! </p> </description> <category>Ticket</category> </item> </channel> </rss>