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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to