#32710 [NEW]: Configure test script doesn't detect zlib. gzgets in -lz test fails.

From: Date: Fri, 15 Apr 2005 01:55:19 +0000
Subject: #32710 [NEW]: Configure test script doesn't detect zlib. gzgets in -lz test fails.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-77572@lists.php.net to get a copy of this message
From:             software-php at interfasys dot ch
Operating system: FreeBSD 5.3
PHP version:      4.3.11
PHP Bug Type:     Compile Failure
Bug description:  Configure test script doesn't detect zlib. gzgets in -lz test fails.

Description:
------------
I can compile 4.3.10 just fine with this config:

./configure \
        --with-apxs \
        --disable-ipv6 \
        --with-curl=/usr/local/lib \
        --with-gd=/usr/local \
        --with-jpeg-dir=/usr/local \
        --with-png-dir=/usr/local \
        --with-zlib-dir=/usr/local/lib \
        --enable-gd-native-ttf \
        --with-ttf \
        --with-freetype-dir=/usr/local \
        --with-gettext \
        --with-kerberos \
        --with-mcrypt \
        --with-mhash \
        --with-mysql=/usr/local/mysql \
        --with-pear \
        --with-dom \
        --with-dom-xslt \
        --with-dom-exslt \
        --with-zlib \
        --with-zip \
        --with-openssl \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-track-vars \
        --with-iconv=/usr/local \
        --with-imap \
        --with-imap-ssl \
        --with-bz2 \
        --enable-mbstring

but if I try with 4.3.11 I get this:
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined...
/usr/local/lib
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9

The latest Zlib has been compiled and the phpinfo in 4.3.10 shows this:
ZLib Support 	enabled
Compiled Version 	1.2.2
Linked Version 	1.2.1


If I use the configure file from 4.3.10 then all checks are passed and
make can be started (it only fails at the end of the make process because
mbstring also has a problem).

I've tried with a .12 snapshot and I got the same result.



-- 
Edit bug report at http://bugs.php.net/?id=32710&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32710&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32710&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32710&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32710&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32710&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32710&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32710&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32710&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32710&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32710&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=32710&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=32710&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32710&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32710&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32710&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32710&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32710&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32710&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32710&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32710&r=mysqlcfg


Thread (11 messages)

« previous php.bugs (#77572) next »