[iostreams] problem with building library

I am trying to build Boost RC1 and I have problem if I enable zlib and bzip2 support for IOStreams library. I am using Boost.Build system and I get the following error during the build process: unknown dependent target <@boost!libs!iostreams!build>libboost_bzip2.lib The build is executed from Boost root directory using .bat-file of the following contents: set NO_BZIP2=0 set NO_ZLIB=0 set ZLIB_SOURCE=.\external\zlib123 set ZLIB_INCLUDE=.\external\zlib123 set BZIP2_SOURCE=.\external\bzip2-1.0.3 set BZIP2_INCLUDE=.\external\bzip2-1.0.3 set TOOLS=vc-7_1 bjam install Am I doing something wrong or it's a problem of the build system? Alexey Bakhvalov

Alexey Bakhvalov wrote:
I am trying to build Boost RC1 and I have problem if I enable zlib and bzip2 support for IOStreams library. I am using Boost.Build system and I get the following error during the build process:
unknown dependent target <@boost!libs!iostreams!build>libboost_bzip2.lib
The build is executed from Boost root directory using .bat-file of the following contents:
set NO_BZIP2=0 set NO_ZLIB=0 set ZLIB_SOURCE=.\external\zlib123 set ZLIB_INCLUDE=.\external\zlib123 set BZIP2_SOURCE=.\external\bzip2-1.0.3 set BZIP2_INCLUDE=.\external\bzip2-1.0.3 set TOOLS=vc-7_1 bjam install
Am I doing something wrong or it's a problem of the build system?
I'm not totally sure, but I think that you need to remove the "set NO_*" lines. The iostreams build seems to use the *_SOURCE, and *_INCLUDE as an indicator to include the compression filters. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

Rene Rivera wrote:
Alexey Bakhvalov wrote:
I am trying to build Boost RC1 and I have problem if I enable zlib and bzip2 support for IOStreams library. I am using Boost.Build system and I get the following error during the build process:
unknown dependent target <@boost!libs!iostreams!build>libboost_bzip2.lib
The build is executed from Boost root directory using .bat-file of the following contents:
set NO_BZIP2=0 set NO_ZLIB=0
Am I doing something wrong or it's a problem of the build system?
I'm not totally sure, but I think that you need to remove the "set NO_*" lines. The iostreams build seems to use the *_SOURCE, and *_INCLUDE as an indicator to include the compression filters.
Rene is correct. I get the same error as you if I define NO_BZIP2=0 and NO_ZLIB=0, but everything works if I leave these variables undefined. Maybe I should check for inconsistent values of these variables and issue a warning. Jonathan

"Jonathan Turkanis" <technews@kangaroologic.com> wrote in message news:dco5no$phl$1@sea.gmane.org...
Rene Rivera wrote:
Alexey Bakhvalov wrote:
I am trying to build Boost RC1 and I have problem if I enable zlib and bzip2 support for IOStreams library. I am using Boost.Build system and I get the following error during the build process:
unknown dependent target <@boost!libs!iostreams!build>libboost_bzip2.lib
The build is executed from Boost root directory using .bat-file of the following contents:
set NO_BZIP2=0 set NO_ZLIB=0
Am I doing something wrong or it's a problem of the build system?
I'm not totally sure, but I think that you need to remove the "set NO_*" lines. The iostreams build seems to use the *_SOURCE, and *_INCLUDE as an indicator to include the compression filters.
Rene is correct. I get the same error as you if I define NO_BZIP2=0 and NO_ZLIB=0, but everything works if I leave these variables undefined.
Yes, it fixed the problem.
participants (3)
-
Alexey Bakhvalov
-
Jonathan Turkanis
-
Rene Rivera