Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19604 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60156 invoked by uid 1010); 13 Oct 2005 21:40:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60141 invoked from network); 13 Oct 2005 21:40:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2005 21:40:01 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:44274] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DE/27-04211-034DE434 for ; Thu, 13 Oct 2005 17:40:01 -0400 Received: (qmail 22798 invoked from network); 13 Oct 2005 21:39:56 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 13 Oct 2005 21:39:56 -0000 Message-ID: <434ED3FC.8050701@zend.com> Date: Fri, 14 Oct 2005 01:39:08 +0400 User-Agent: Thunderbird 1.4.1 (X11/20051006) MIME-Version: 1.0 To: Pierre CC: internals@lists.php.net References: <434E9F40.1090800@zend.com> <434ECE78.8050205@zend.com> <20051013233048.23d60dc3@localhost.localdomain> In-Reply-To: <20051013233048.23d60dc3@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Installing PEAR in 5.1.0RC2-dev From: antony@zend.com (Antony Dovgal) On 14.10.2005 01:30, Pierre wrote: > On Thu, 13 Oct 2005 23:22:36 +0200 (CEST) > derick@php.net (Derick Rethans) wrote: > >> On Fri, 14 Oct 2005, Antony Dovgal wrote: >> >> > After the recent discussion in #php.pecl: >> > >> > Is there any chance to use system's gunzip to unpack the phar as a >> > fallback solution ? >> > Or even better - to download and install not compressed version of >> > the phar ? Or at least use --without-pear when there is no >> > --with-zlib or it's --with-zlib=shared ? >> > >> > Greg? Pierre? Any other ideas? >> >> I think we can just make it an uncompressed phar, or make two, one >> compressed and one uncompressed. The uncompressed one we can put into >> the snapshots and releases, as they will be compressed anyway. > > Exact, it was the idea the last time this problem was brought. > > Another is to add --with-zlib when --with-pear is used. You "need" it > somehow. This solution is my favourite. No, silently enabling something doesn't look like a good idea to me. We might disable something because of dependencies, but we enable only something that was requested by user explicitly (except for those modules that are enabled by default). Also, what if someone uses --without-zlib? The installer would fail again? -- Wbr, Antony Dovgal