Cygwin compilation problem
I've used various earlier versions of Boost with Cygwin in the past, and I am finally getting around to trying version 1.34.1. Unfortunately, I can't get it to build. Here's the string of error messages I get when I try: ***** Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (don't panic: this is a strictly optional feature). /c/development/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)@1391 object(file-target)@1392 ) * extra argument object(file-target)@1392 /c/development/boost_1_34_1/tools/build/v2/build/virtual-target.jam:880:see definition of rule 'register' being called /c/development/boost_1_34_1/tools/build/v2/build/generators.jam:840: in try-one-generator-really /c/development/boost_1_34_1/tools/build/v2/build/generators.jam:902: in try-one-generator /c/development/boost_1_34_1/tools/build/v2/build/generators.jam:1110: in construct-really /c/development/boost_1_34_1/tools/build/v2/build/generators.jam:1186: in generators.construct /c/development/boost_1_34_1/tools/build/v2/tools/stage.jam:160: in construct /c/development/boost_1_34_1/tools/build/v2/build/targets.jam:1242: in object(install-target-class)@65.generate /c/development/boost_1_34_1/tools/build/v2/build/targets.jam:765: in generate-really /c/development/boost_1_34_1/tools/build/v2/build/targets.jam:738: in object(main-target)@249.generate /c/development/boost_1_34_1/tools/build/v2/build/targets.jam:895: in targets.generate-from-reference /c/development/boost_1_34_1/tools/build/v2/build/targets.jam:1169: in generate-dependencies /c/development/boost_1_34_1/tools/build/v2/build/targets.jam:1214: in object(alias-target-class)@71.generate /c/development/boost_1_34_1/tools/build/v2/build/targets.jam:765: in generate-really /c/development/boost_1_34_1/tools/build/v2/build/targets.jam:738: in object(main-target)@253.generate /c/development/boost_1_34_1/tools/build/v2/build-system.jam:402: in load /c/development/boost_1_34_1/tools/build/v2/kernel/modules.jam:261: in import /c/development/boost_1_34_1/tools/build/v2/kernel/bootstrap.jam:132: in boost-build /c/development/boost_1_34_1/boost-build.jam:9: in module scope ***** If it makes any difference bjam --version reports: Boost.Build V2 (Milestone 11) Boost.Jam 03.1.16 and gcc --version reports gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Do I need to figure out how to compile gcc 4.x under Cygwin, or is there a simpler way to get things to work? Kent -- Kent E. Holsinger kent@darwin.eeb.uconn.edu http://darwin.eeb.uconn.edu -- Department of Ecology & Evolutionary Biology -- University of Connecticut, U-3043 -- Storrs, CT 06269-3043
Kent Holsinger wrote:
I've used various earlier versions of Boost with Cygwin in the past, and I am finally getting around to trying version 1.34.1. Unfortunately, I can't get it to build. Here's the string of error messages I get when I try:
***** Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (don't panic: this is a strictly optional feature). /c/development/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)@1391 object(file-target)@1392 ) * extra argument object(file-target)@1392
Please see http://svn.boost.org/trac/boost/ticket/1062 for a patch that fixes this problem. The patch was not included in 1.34.1, unfortunately. - Volodya
Vladimir Prus wrote:
Please see http://svn.boost.org/trac/boost/ticket/1062 for a patch that fixes this problem.
The patch was not included in 1.34.1, unfortunately. Thanks. That did it.
Kent -- Kent E. Holsinger kent@darwin.eeb.uconn.edu http://darwin.eeb.uconn.edu -- Department of Ecology & Evolutionary Biology -- University of Connecticut, U-3043 -- Storrs, CT 06269-3043
participants (2)
-
Kent Holsinger
-
Vladimir Prus