Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49970 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61216 invoked from network); 26 Oct 2010 07:58:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2010 07:58:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:60802] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/74-35365-A3A86CC4 for ; Tue, 26 Oct 2010 03:58:51 -0400 Received: from think.site (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTPSA id 794ADBFA0A2 for ; Tue, 26 Oct 2010 11:58:47 +0400 (MSD) Message-ID: <4CC68A32.7010106@daylessday.org> Date: Tue, 26 Oct 2010 11:58:42 +0400 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100914 SUSE/3.0.8 Thunderbird/3.0.8 MIME-Version: 1.0 To: internals@lists.php.net References: <90e6ba4fc2b0323a01049321ea75@google.com> In-Reply-To: <90e6ba4fc2b0323a01049321ea75@google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] zlib compile From: tony@daylessday.org (Antony Dovgal) 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