Re: zlib compile

From: Date: Tue, 26 Oct 2010 07:58:42 +0000
Subject: Re: zlib compile
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-49970@lists.php.net to get a copy of this message
On 10/21/2010 07:09 PM, lonnyk@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

« previous php.internals (#49970) next »