Install bug/workaround for 1.34.1 on cygwin.

I am trying to install boost 1.34.1 on a cygwin (x86, WinXP, NTFS) system. "make install" gives the following error: /boost_1_34_1/tools/build/v2/tools/stage.jam:424: in object(installed-shared-lib-generator)@4.run *** argument error * rule virtual-target.register ( target ) * called with: ( object(file-target)@1395 object(file-target)@1396 ) * extra argument object(file-target)@1396 /boost_1_34_1/tools/build/v2/build/virtual-target.jam:880:see definition of rule 'register' being called I've looked at line 424 of stage.jam. It is in the "else" block of an "if OS==NT" structure. I guess that it is wrongly detecting a linux OS - my OS is Windows. I don't know how to correct the code (I'm not familiar with this language), but by commenting out selected lines, I can force it to enter the NT block, and it all appears to work fine. HTH Greg -- Greg Roach, Stony Stratford, Bucks, England, greg@subaqua.co.uk "Don't eat animals - it's not good for them and they don't like it"

http://svn.boost.org/trac/boost/attachment/ticket/1062/stage.jam.patch
On Jan 27, 2008 2:23 PM, Greg Roach
I am trying to install boost 1.34.1 on a cygwin (x86, WinXP, NTFS) system. "make install" gives the following error:
/boost_1_34_1/tools/build/v2/tools/stage.jam:424: in object(installed-shared-lib-generator)@4.run *** argument error * rule virtual-target.register ( target ) * called with: ( object(file-target)@1395 object(file-target)@1396 ) * extra argument object(file-target)@1396 /boost_1_34_1/tools/build/v2/build/virtual-target.jam:880:see definition of rule 'register' being called
I've looked at line 424 of stage.jam. It is in the "else" block of an "if OS==NT" structure. I guess that it is wrongly detecting a linux OS - my OS is Windows.
I don't know how to correct the code (I'm not familiar with this language), but by commenting out selected lines, I can force it to enter the NT block, and it all appears to work fine.
HTH
Greg -- Greg Roach, Stony Stratford, Bucks, England, greg@subaqua.co.uk "Don't eat animals - it's not good for them and they don't like it" _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
chun ping wang
-
Greg Roach