Boost logo

Boost Testing :

From: Martin Wille (mw8329_at_[hidden])
Date: 2007-03-16 19:05:22


David Abrahams wrote:
> on Fri Mar 16 2007, Martin Wille <mw8329-AT-yahoo.com.au> wrote:
>
>>> So how are we going to get #119 resolved? Martin, can you manually
>>> produce the bjam command line that would trigger the issue?
>> What would the --toolset part exactly look like?
>>
>> --toolset=gcc-1,gcc-2 or --toolset="gcc-1 gcc-2"? I've seen too many
>> flavours of commas, spaces and whatnot in use on the bjam commandline to
>> remember how this one works.
>
> According to
>
> the code generating the command was
>
> "--toolset=%s"' % string.join( string.split( toolsets, ',' ), ' ' )
>
> which could explain why things weren't working as expected. It seems
> to be passing
>
> "--toolset=gcc-1 gcc-2"
>
> while my code expects comma-separated toolsets.

It seems I'm not the only one who has problems remembering how to pass
options correctly to bjam. If that already happens to knowledgeable
people then the odds to get it right are pretty bad for the casual user.

> Anyway, please use the comma-separated syntax and see if it works.

I'm afraid it doesn't work:

DonQuixote> $bjam
--toolset=gcc-3.4.5_linux_x86_64,gcc-3.4.6_linux_x86_64,gcc-4.1.0_linux_x86_64,gcc-4.1.2_linux_x86_64
| & more
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).
error: No best alternative for /python-2.4
     next alternative: required properties: (empty)
         matched
     next alternative: required properties: (empty)
         matched
...patience...
...patience...
...patience...
...patience...
...patience...
...found 25557 targets...
...updating 12902 targets...

DonQuixote> $bjam --debug-configuration
--toolset=gcc-3.4.5_linux_x86_64,gcc-3.4.6_linux_x86_64,gcc-4.1.0_linux_x86_64,gcc-4.1.2_linux_x86_64
| & more
notice: found boost-build.jam at /b/r/rc/boost/boost-build.jam
notice: loading Boost.Build from /b/r/rc/boost/tools/build/v2
notice: loading test-config.jam from /b/r/rc/toolsets/test-config.jam
notice: user-config.jam and site-config.jam will be ignored
notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "2.4"
notice: [python-cfg] Checking interpreter command "/usr/bin/python2.4"...
notice: [python-cfg] ...requested configuration matched!
notice: [python-cfg] Python interpreter command is "/usr/bin/python2.4"
notice: [python-cfg] Python include path is "/usr/include/python2.4"
notice: [python-cfg] Python library path is "/usr/lib/python2.4/config"
"/usr/lib"
notice: using gcc libraries :: <toolset>gcc-3.4.6_linux_x86_64 ::
/usr/local/gcc-3.4.6/bin /usr/local/gcc-3.4.6/lib
/usr/local/gcc-3.4.6/lib32 /usr/local/gcc-3.4.6/lib64
notice: using gcc archiver :: <toolset>gcc-3.4.6_linux_x86_64 :: ar
warning: toolset gcc initialization: can't find tool windres
warning: initialized from
notice: using rc compiler :: <toolset>gcc-3.4.6_linux_x86_64 :: as
notice: using gcc libraries :: <toolset>gcc-3.4.5_linux_x86_64 ::
/usr/local/gcc-3.4.5/bin /usr/local/gcc-3.4.5/lib
/usr/local/gcc-3.4.5/lib32 /usr/local/gcc-3.4.5/lib64
notice: using gcc archiver :: <toolset>gcc-3.4.5_linux_x86_64 :: ar
warning: toolset gcc initialization: can't find tool windres
warning: initialized from
notice: using rc compiler :: <toolset>gcc-3.4.5_linux_x86_64 :: as
notice: using gcc libraries :: <toolset>gcc-4.1.0_linux_x86_64 ::
/usr/local/gcc-4.1.0/bin /usr/local/gcc-4.1.0/lib
/usr/local/gcc-4.1.0/lib32 /usr/local/gcc-4.1.0/lib64
notice: using gcc archiver :: <toolset>gcc-4.1.0_linux_x86_64 :: ar
warning: toolset gcc initialization: can't find tool windres
warning: initialized from
notice: using rc compiler :: <toolset>gcc-4.1.0_linux_x86_64 :: as
notice: using gcc libraries :: <toolset>gcc-4.1.2_linux_x86_64 ::
/usr/local/gcc-4.1.0/bin /usr/local/gcc-4.1.0/lib
/usr/local/gcc-4.1.0/lib32 /usr/local/gcc-4.1.0/lib64
notice: using gcc archiver :: <toolset>gcc-4.1.2_linux_x86_64 :: ar
warning: toolset gcc initialization: can't find tool windres
warning: initialized from
notice: using rc compiler :: <toolset>gcc-4.1.2_linux_x86_64 :: as
notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "2.4"
notice: [python-cfg] user-specified condition:
"<toolset>gcc-4.1.0_linux_x86_64"
notice: [python-cfg] Checking interpreter command
"/usr/local/python/2.4/gcc-4.1.0/bin/python2.4"...
notice: [python-cfg] ...requested configuration matched!
notice: [python-cfg] Python interpreter command is
"/usr/local/python/2.4/gcc-4.1.0/bin/python2.4"
notice: [python-cfg] Python include path is
"/usr/local/python/2.4/gcc-4.1.0/include/python2.4"
notice: [python-cfg] Python library path is
"/usr/local/python/2.4/gcc-4.1.0/lib/python2.4/config"
"/usr/local/python/2.4/gcc-4.1.0/lib"
notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "2.4"
notice: [python-cfg] user-specified condition:
"<toolset>gcc-4.1.2_linux_x86_64"
notice: [python-cfg] Checking interpreter command
"/usr/local/python/2.4/gcc-4.1.0/bin/python2.4"...
notice: [python-cfg] ...requested configuration matched!
notice: [python-cfg] Python interpreter command is
"/usr/local/python/2.4/gcc-4.1.0/bin/python2.4"
notice: [python-cfg] Python include path is
"/usr/local/python/2.4/gcc-4.1.0/include/python2.4"
notice: [python-cfg] Python library path is
"/usr/local/python/2.4/gcc-4.1.0/lib/python2.4/config"
"/usr/local/python/2.4/gcc-4.1.0/lib"
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).
notice: iostreams: using prebuilt zlib
notice: iostreams: using prebuilt bzip2
error: No best alternative for /python-2.4
     next alternative: required properties: (empty)
         matched
     next alternative: required properties: (empty)
         matched
...patience...
...patience...
...patience...
...patience...
...patience...
...found 25557 targets...

Regards,
m
Send instant messages to your online friends http://au.messenger.yahoo.com


Boost-testing list run by mbergal at meta-comm.com