checking for IceConnectionNumber in -lICE... yes checking X11/Intrinsic.h usability... yes checking X11/Intrinsic.h presence... yes checking for X11/Intrinsic.h... yes checking for XtToolkitInitialize in -lXt... yes using X11 ... yes checking for KeySym... yes checking X11/Xmu/Atoms.h usability... yes checking X11/Xmu/Atoms.h presence... yes checking for X11/Xmu/Atoms.h... yes checking for XmuInternAtom in -lXmu... yes checking whether pkg-config knows about cairo and pango... yes checking whether cairo including pango is >= 1.2 and works... yes checking for BSD networking... yes checking rpc/types.h usability... yes checking rpc/types.h presence... yes checking for rpc/types.h... yes checking for rpc/xdr.h... yes checking for XDR support... yes checking for inflateInit2_ in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking if zlib version >= 1.2.5... no configure: error: zlib library and headers are required note zlib-1.2.10 is installed.
I can confirm this bug.
I can confirm this bug with R-3.3.1 with zlib 1.2.11 installed
This was fixed upstream: CHANGES IN R 3.3.3: NEW FEATURES: • ... INSTALLATION on a UNIX-ALIKE: • The configure check for the zlib version is now robust to versions longer than 5 characters, including 1.2.11.