3.0.2 build failure on RHELv5.1

John W. Eaton jwe at bevo.che.wisc.edu
Mon Sep 22 14:11:20 CDT 2008


On 22-Sep-2008, Jeff Blaine wrote:

| John W. Eaton wrote:
| > On 22-Sep-2008, Jeff Blaine wrote:
| > 
| > | The zlib version that comes with RHEL5.1, which appears to be
| > | 1.2.3
| > | 
| > | octave-3.0.2:beijing> rpm -qa | grep zlib
| > | zlib-1.2.3-3
| > | zlib-1.2.3-3
| > | zlib-devel-1.2.3-3
| > | zlib-devel-1.2.3-3
| > | octave-3.0.2:beijing>
| > 
| > Does it have the gzclearerr?  Does the header file provided with this
| > package declare gzclearerr?
| > 
| > Looking at Octave's configure.in script, it checks for the presence of
| > gzclearerr when checking for zlib.  So I don't understand why that
| > check would have succeeded if gzclearerr is not present.
| > 
| > jwe
| 
| John,
| 
| octave-3.0.2:beijing> grep gzclearerr /usr/include/zlib.h
| ZEXTERN void ZEXPORT gzclearerr OF((gzFile file));
| octave-3.0.2:beijing>
| 
| octave-3.0.2:beijing> grep zlib myconfigure.log
| checking zlib.h usability... yes
| checking zlib.h presence... yes
| checking for zlib.h... yes
| octave-3.0.2:beijing>

So from this, I assume HAVE_ZLIB_H is defined in config.h, correct?

If so, then I don't see the cause for the error.  Is it possible there
is some other zlib.h that is being included instead of the one in
/usr/include?

jwe


More information about the Bug-octave mailing list