Bjam stage problem on Cygwin with RC2
Hi, I just tried RC2 on Cygwin and got the error that is attached to this email. -- VH $ ./tools/jam/src/bin.cygwinx86/bjam.exe -d 2 --toolset=gcc --variant=release --threading=multi --optimization=speed stage 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). /cygdrive/c/wilx/cygwin-boost-1_34_0/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 /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/virtual-target.jam:880:see definition of rule 'register' being called /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/generators.jam:840: in try-one-generator-really /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/generators.jam:902: in try-one-generator /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/generators.jam:1110: in construct-really /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/generators.jam:1186: in generators.construct /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/tools/stage.jam:160: in construct /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/targets.jam:1242: in object(install-target-class)@65.generate /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/targets.jam:765: in generate-really /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/targets.jam:738: in object(main-target)@249.generate /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/targets.jam:895: in targets.generate-from-reference /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/targets.jam:1169: in generate-dependencies /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/targets.jam:1214: in object(alias-target-class)@71.generate /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/targets.jam:765: in generate-really /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build/targets.jam:738: in object(main-target)@253.generate /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/build-system.jam:402: in load /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/kernel/modules.jam:261: in import /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/tools/build/v2/kernel/bootstrap.jam:132: in boost-build /cygdrive/c/wilx/cygwin-boost-1_34_0/boost_1_34_1/boost-build.jam:9: in module scope
I do not use the bjam specific for Windows but the one built with ./configure and it works with some modifications of user-config.jam ! See my previous emails.
F. Bron
___________________________________
Frédéric Bron (frederic.bron@alcan.com)
Unité ALT, Alcan CRV, BP 27, 38341 Voreppe
téléphone : +33 4 76 57 81 72
télécopie : +33 4 76 57 80 99
Václav Haisman
frederic.bron@alcan.com wrote:
I do not use the bjam specific for Windows but the one built with ./configure and it works with some modifications of user-config.jam ! See my previous emails.
I doubt that will make any different. ./configure is a wrapper over standard build procedure, I cannot see any way it can evade this problem. - Volodya
OK but I have successfully installed 1.34.1 RC2 on my PC for cygwin use and no-cygwin use. This is my experience so I think bjam is able to work.
F. Bron
Vladimir Prus
I do not use the bjam specific for Windows but the one built with ./configure and it works with some modifications of user-config.jam ! See my previous emails.
I doubt that will make any different. ./configure is a wrapper over standard build procedure, I cannot see any way it can evade this problem. - Volodya _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users Avis : Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes en tout ou en partie. Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.
frederic.bron@alcan.com wrote:
OK but I have successfully installed 1.34.1 RC2 on my PC for cygwin use and no-cygwin use. This is my experience so I think bjam is able to work.
Are you sure you're not using version of Boost.Build that was previously installed? Do you see .dll.a files in your installed "lib" directory? - Volodya
I am sure bjam is built (during ./configure) but I am building only the static libraries. That is the point. Sorry about it.
F. Bron
Vladimir Prus
OK but I have successfully installed 1.34.1 RC2 on my PC for cygwin use and no-cygwin use. This is my experience so I think bjam is able to work.
Are you sure you're not using version of Boost.Build that was previously installed? Do you see .dll.a files in your installed "lib" directory? - Volodya _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users Avis : Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes en tout ou en partie. Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.
Václav Haisman wrote:
Hi, I just tried RC2 on Cygwin and got the error that is attached to this email.
$ ./tools/jam/src/bin.cygwinx86/bjam.exe -d 2 --toolset=gcc --variant=release --threading=multi --optimization=speed stage
Try: bjam.exe -d2 -toolset=gxx variant=release threading=multi optimization=speed target-os=cygwin stage -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Rene Rivera wrote:
Václav Haisman wrote:
Hi, I just tried RC2 on Cygwin and got the error that is attached to this email.
$ ./tools/jam/src/bin.cygwinx86/bjam.exe -d 2 --toolset=gcc --variant=release --threading=multi --optimization=speed stage
Try:
bjam.exe -d2 -toolset=gxx variant=release threading=multi optimization=speed target-os=cygwin stage
Same as before but with additional warning: $ nice -n 10 ./tools/jam/src/bin.cygwinx86/bjam.exe -d2 -toolset=gxx variant=release threading=multi optimization=speed target-os=cygwin stage 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). warning: No toolsets are configured. warning: Configuring default toolset "gcc". warning: If the default is wrong, you may not be able to build C++ programs. warning: Use the "--toolset=xxxxx" option to override our guess. warning: For more configuration options, please consult warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html /cygdrive/c/wilx/cygwin-boost-1_34_0/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)@1387 object(file-target)@1388 ) * extra argument object(file-target)@1388 [...] There does not seem to be a toolset called gxx. Adding - --target-os=cygwin to my original parameters does not help either. - -- VH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGmyOGjksRtmO2spcRCJAuAJ0f869aKWn2pB95tICQd00Mj/Aj9QCgihKL CQ2BMRa3lS56r1exv9SQCyY= =hg43 -----END PGP SIGNATURE-----
participants (4)
-
frederic.bron@alcan.com
-
Rene Rivera
-
Vladimir Prus
-
Václav Haisman