Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams][zip]
From: Andrew Schweitzer (a.schweitzer.grps_at_[hidden])
Date: 2009-05-18 13:26:23


Steven Watanabe wrote:
> AMDG
>
[snip]
> Just add the arguments
> debug link=static
>
> In Christ,
> Steven Watanabe

That didn't work, but your idea gave me a hint to look at Getting
Started re bjam's defaults... then I tried the handy --debug-building
and --debug-configuration which report concisely, and I see this:

        notice: iostreams: not using zlib compression

and in
        libs\iostreams\build\Jamfile.v2
I see:
     if [ os.name ] = NT && ! $($(LIB)_SOURCE) && ! $($(LIB)_INCLUDE)
     {
         if $(debug)
         {
             ECHO "notice: iostreams: not using $(library-name)
compression " ;
         }
         NO_$(LIB) = 1 ;

I'm not sure what this means, but apparently it's unhappy with how I
told it the source locations, which was:

bjam iostreams toolset=msvc-9.0
-sHAS_ZLIB=1
-sHAS_BZIP2=1
-sNO_COMPRESSION=0
-sNO_BZIP2=0
-sNO_ZLIB=0
-sZLIB_INCLUDE=D:/nan/compression/zlib/zlib123-dll/include
-sZLIB_LIBPATH=D:/nan/compression/zlib/zlib123-dll/lib
-sZLIB_SOURCE=D:/nan/compression/zlib/zlib-1.2.3
-sBZIP2_INCLUDE=D:/nan/compression/bz2/bzip2-1.0.5
-sBZIP2_LIBPATH=D:/nan/compression/bz2/bzip2-1.0.5
-sBZIP2_SOURCE=D:/nan/compression/bz2/bzip2-1.0.5

I tried modifying Jamfile.v2 to print more information by adding these
lines:
     if [ os.name ] = NT && ! $($(LIB)_SOURCE) && ! $($(LIB)_INCLUDE)
     {
         if $(debug)
         {
             #new line
            ECHO "source of [$(LIB)_SOURCE]: $($(LIB)_SOURCE) " ;
             #new line
            ECHO "include of [$(LIB)_INCLUDE]: $($(LIB)_INCLUDE) " ;
             ECHO "notice: iostreams: not using $(library-name)
compression " ;
         }
         NO_$(LIB) = 1 ;

But these don't seem to be printed... any idea what's wrong with that
way of debugging a jamfile?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net