Red Hat Bugzilla – Bug 106291
Change in zlib.h prevents R application from compiling
Last modified: 2007-11-30 17:10:31 EST
Description of problem:
The latest version of zlib (22.214.171.124) has a change in zlib.h which results in the
inability to compile R, which is a GPL math/stats application
The change is on lines 31 and 32 of zlib.h where _ZLIB_H has been changed to
ZLIB_H (note the dropping of the initial '_').
One of R's header files checks for the presence of _ZLIB_H as part of a
conditional compilation check. The change in the DEFINE causes R's compilation
to break since the check fails.
A note has been posted to the zlib.org developers for follow up on this change.
Based upon that feedback, comments will be sent to the R Core developers with
recommendations for any changes required.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
R's compilation stops when the expected DEFINE is not found
It is likely that no changes will be required on this from the Fedora developers
and that the likely change will be required on the R side, pending feedback from
Fixed (by reverting to old zlib-1.1.4 zlib.h convention) in zlib-126.96.36.199-2.
Note that zlib-1.2.1 may still be different than this patch.