On 10/21/2010 07:09 PM, lon...@gmail.com wrote:
> PHP 5.2.14
> 
> Docs say to compile w/ zlib you need to use the --with-zlib[=DIR] flag.
> 
> This does not work. You need to use --with-zlib --with-zlib-dir=[DIR]

No, you don't have to use it, --with-zlib works just fine:

# ./configure --with-zlib=/no/zlib/there
...
checking for OpenSSL support... no
checking for Kerberos support... no
checking for PCRE support... no
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz

You can open ext/zlib/config0.m4 and check the logic behind both options.

-- 
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to