Opened 8 years ago

Closed 7 years ago

#4091 closed Bugs (fixed)

iostreams cannot build against zlib 1.2.4

Reported by: Lars Viklund <zao@…> Owned by: Jonathan Turkanis
Milestone: Boost 1.43.0 Component: iostreams
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.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Steven Watanabe

Resolution: fixed
Status: newclosed

(In [62937]) Allow building zlib 1.2.4+, using a glob to include only source files that actually exist. Fixes #4091.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonathan Turkanis.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.