Ticket #4091 (closed Bugs: fixed)
iostreams cannot build against zlib 1.2.4
|Reported by:||Lars Viklund <zao@…>||Owned by:||turkanis|
|Version:||Boost Development Trunk||Severity:||Problem|
|Keywords:||zlib iostreams gzio||Cc:|
zlib 1.2.4 has recently been released and has split up some source files. The file gzio.c seems to have been split up into a bunch of gz*.c files.
As the file does not exist, the jamfile at libs/iostreams/build/Jamfile.v2 bails out hard.
A solution from a blog seems to be to simply remove gzio from the list of source files to build. The testsuite for iostreams passes on my Windows box with VS10 RTM against trunk r61231, and my zlib_decompressor/zlib_compressor-using source builds and runs correctly.
I assume that a BBv2 guru is capable of adding some kind of condition in the Jamfile to optionally include the gzio.c file if on an older zlib.