Re: Go-Pear exits with format warning

From: Date: Tue, 05 Aug 2003 15:22:27 +0000
Subject: Re: Go-Pear exits with format warning
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7022@lists.php.net to get a copy of this message
Thomas, The fix you need is to modify pear/PEAR/Installer.php Index: php-src/pear/PEAR/Installer.php diff -u php-src/pear/PEAR/Installer.php:1.93 php-src/pear/PEAR/Installer.php:1.94 --- php-src/pear/PEAR/Installer.php:1.93 Mon Aug 4 09:31:35 2003 +++ php-src/pear/PEAR/Installer.php Tue Aug 5 08:28:57 2003 @@ -18,7 +18,7 @@
 // |          Martin Jansen <mj@php.net>     |
 // +----------------------------------------------------------------------+
// -// $Id: Installer.php,v 1.93 2003/08/04 13:31:35 cox Exp $ +// $Id: Installer.php,v 1.94 2003/08/05 12:28:57 cox Exp $ require_once 'PEAR/Common.php'; require_once 'PEAR/Registry.php'; @@ -552,7 +552,7 @@
             $this->log(2, '+ tmp dir created at ' . $tmpdir);
             $tar = new Archive_Tar($pkgfile);
-            if (!@$tar->extract(array($tmpdir))) {
+            if (!@$tar->extract($tmpdir)) {
                 return $this->raiseError("unable to unpack $pkgfile");
             }
Greg Thomas Roediger wrote:
Pierre-Alain Joye schrieb:
On Tue, 05 Aug 2003 16:51:44 +0200 Thomas Roediger <t.roediger@vipermedia.de> wrote:
Hello, I tried to install PEAR-Package on a freshly installed Debian 3.0 with a self-build PHP 4.2.2. After Downloading all the Installer exits with:
What can I do?
Wait the next pear release (within 24h :) pierre
hmmm, so if there is no other way ... :-( Greetings tom


« previous php.pear.general (#7022) next »