Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44428 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14407 invoked from network); 23 Jun 2009 06:24:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2009 06:24:43 -0000 X-Host-Fingerprint: 85.21.236.169 xdmitri.static.corbina.ru Received: from [85.21.236.169] ([85.21.236.169:12897] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/7E-36467-A25704A4 for ; Tue, 23 Jun 2009 02:24:42 -0400 Message-ID: <4A.7E.36467.A25704A4@pb1.pair.com> To: internals@lists.php.net References: <688E0CB7-742C-4861-B636-0C89DC4D8B9A@pooteeweet.org> <06.D1.20019.45C1F3A4@pb1.pair.com> <7f3ed2c30906220017j6fcea76do2190af3f3ff2d763@mail.gmail.com> <38.7A.20019.C9D6F3A4@pb1.pair.com> <7f3ed2c30906220445m469c0faxc6e28b242dffb086@mail.gmail.com> <4A3FAE37.5020102@chiaraquartet.net> <5B.23.08779.7D9CF3A4@pb1.pair.com> <4A400631.4040309@chiaraquartet.net> Date: Tue, 23 Jun 2009 10:24:33 +0400 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Posted-By: 85.21.236.169 Subject: Re: [PHP-DEV] Re: 5.3.0 stable release From: dmda@yandex.ru ("jvlad") >> In other words, I see two bugs there: >> 1. PHP depends on the system-wide installed pear and tries to run it. >> 2. One or many files are missed in the package producing the "Archive.php >> class file not found" error. > > 1. you're wrong, PHP does not depend on system-wide installed pear, it > will simply use it if present Does not matter how you call it. "Simply use it", or "depends on it", this all is about the same. Since php brings its own pear why not to use it? Well, even if using system's pear unavoidable, why not to check its presense and its version first and do not bother shell with attempts to run non-existing stuff? > 2. nothing is missing. see http://pear.php.net/PHP_Archive > > If installed, phar.phar will function (partially) without the phar > extension being present. Same goes here. Presense of PHP_Archive can be also checked without misleading error messages in the make's output.