Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19600 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36419 invoked by uid 1010); 13 Oct 2005 21:16:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36404 invoked from network); 13 Oct 2005 21:16:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2005 21:16:30 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:54213] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 74/63-04211-DAECE434 for ; Thu, 13 Oct 2005 17:16:29 -0400 Received: (qmail 14879 invoked from network); 13 Oct 2005 21:16:24 -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:16:24 -0000 Message-ID: <434ECE78.8050205@zend.com> Date: Fri, 14 Oct 2005 01:15:36 +0400 User-Agent: Thunderbird 1.4.1 (X11/20051006) MIME-Version: 1.0 To: Antony Dovgal CC: php-dev References: <434E9F40.1090800@zend.com> In-Reply-To: <434E9F40.1090800@zend.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Installing PEAR in 5.1.0RC2-dev From: antony@zend.com (Antony Dovgal) 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? On 13.10.2005 21:54, Antony Dovgal wrote: > Hello all. > > This is what I got trying to install latest snapshot of 5.1.0-dev with Apache2 on Linux: > > ------------------ > Notice: Error: zlib extension is not enabled - gzinflate() function needed for compressed .phars in /root/php5-200510131630/pear/install-pear.phar on line 393 > > Warning: main(phar://install-pear.phar/index.php): failed to open stream: "PHP_Archive::stream_open" call failed in /root/php5-200510131630/pear/install-pear.phar on line 633 > > Fatal error: main(): Failed opening required 'phar://install-pear.phar/index.php' (include_path='.:/usr/local/lib/php') in /root/php5-200510131630/pear/install-pear.phar on line 633 > make[1]: *** [install-pear-installer] Error 255 > make: *** [install-pear] Error 2 > ------------------ > > The configure line used was: > ./configure --with-apxs2=/opt/apache/bin/apxs --enable-debug > > Am I the only one who see these errors or PEAR indeed doesn't use any error handling? > -- Wbr, Antony Dovgal