ID:               32710
 User updated by:  software-php at interfasys dot ch
 Reported By:      software-php at interfasys dot ch
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: FreeBSD 5.3
 PHP Version:      4.3.11
 New Comment:

OK, I did.
Same result.

checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined...
/usr/local
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9


Previous Comments:
------------------------------------------------------------------------

[2005-04-15 14:02:31] [EMAIL PROTECTED]

There aren't any configure options in PHP configure which would expect
/usr/local/lib as parameter (drop the /lib part from it)


------------------------------------------------------------------------

[2005-04-15 03:56:57] software-php at interfasys dot ch

>From config.log:
configure: failed program was:
#line 18132 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gzgets();

int main() {
gzgets()
; return 0; }

------------------------------------------------------------------------

[2005-04-15 03:55:18] software-php at interfasys dot ch

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 this bug report at http://bugs.php.net/?id=32710&edit=1

Reply via email to