PHP/Zlib Compilation problem
| From: | Chean Fonk Joe Thong | Date: | Sat, 03 Feb 2001 18:04:35 +0000 |
| Subject: | PHP/Zlib Compilation problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1892@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to compile zlib support into PHP. I've the
latest version of zlib installed, i.e 1.1.3. I'm
running on Redhat 6.1, Apache 1.3.9, and the latest
snapshot of PHP from snaps.php.net
I ran into a problem at the 'configure' step.
./configure --with-apxs=/usr/sbin/apxs
--with-pgsql=/usr/include/pgsql --with-gd=/usr/
--with-ftp --enable-track-vars --enable-versioning
--with-gdbm=/usr/include --with-pdflib=/usr/local/lib
--with-mck=/usr/local/mck-3.3.1-i586-pc-linux-gnulibc2.1
--with-jpeg-dir=/usr/lib --with-tiff-dir=/usr/lib
--with-png-dir=/usr/lib --with-xpm-dir
--enable-calendar --with-imap --with-zlib==/usr
--with-zlib-dir --with-mod-dav --with-snmp
--enable-sockets --enable-yp --with-dom
--enable-sablot-errors-descriptive --with-sablot
--enable-wddx --with-readline=/usr
The error message is:
checking whether to include zlib support... yes
checking for gzgets in -lz... no
configure: error: Zlib module requires zlib >= 1.0.9.
But the fact is I've already had zlib v 1.1.3
installed, which is newer than 1.0.9.
What's happening here?
Any help would be appreciated.
Joe
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/