Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19609 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10337 invoked by uid 1010); 13 Oct 2005 22:59:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10321 invoked from network); 13 Oct 2005 22:59:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2005 22:59:31 -0000 X-Host-Fingerprint: 69.64.38.41 bluga.net Linux 2.5 (sometimes 2.4) (4) Received: from ([69.64.38.41:47815] helo=bluga.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F9/2D-04211-2D6EE434 for ; Thu, 13 Oct 2005 18:59:30 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by bluga.net (Postfix) with ESMTP id 1B0ED21CAB6; Thu, 13 Oct 2005 18:00:23 -0500 (CDT) Received: from bluga.net ([127.0.0.1]) by localhost (bluga.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13470-03; Thu, 13 Oct 2005 18:00:23 -0500 (CDT) Received: from [10.197.21.236] (unknown [66.209.31.29]) by bluga.net (Postfix) with ESMTP id B93C521C9AD; Thu, 13 Oct 2005 18:00:17 -0500 (CDT) Message-ID: <434EE6C2.2040402@php.net> Date: Thu, 13 Oct 2005 18:59:14 -0400 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jani Taskinen CC: Antony Dovgal , php-dev References: <434E9F40.1090800@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new using ClamAV at bluga.net Subject: Re: [PHP-DEV] Installing PEAR in 5.1.0RC2-dev From: cellog@php.net (Greg Beaver) Jani Taskinen wrote: > On Thu, 13 Oct 2005, Antony Dovgal wrote: > >> ------------------ >> 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? > > > > Add --disable-pear to the configure line and the errors go away. can we add --disable-smartass to this thread? ;) The design of .phar is an uncompressed archive containined individually compressed files. I just uploaded an uncompressed .phar that can be used. The easiest (and obvious) solution is to simply use it if zlib is not enabled. Otherwise, using the zlib one is the obvious choice because it is 1/6 the size. Greg