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