re-installing PEAR
| From: | Graham Clarke | Date: | Tue, 08 Nov 2005 21:28:49 +0000 |
| Subject: | re-installing PEAR | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21844@lists.php.net to get a copy of this message | ||
Hi - I'm having a heck of a time trying to re-install pear on a RH AS 4 server.
Everything seems to ge well until this comes up
Extracting installer..................ok
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1)
Any suggestions on how to resolve this? Right now pear doesn't even work from the command line.
The full play-by-play is below.
Thanks
Graham
# lynx -source http://go-pear.org/ | php
Content-type: text/html
X-Powered-By: PHP/4.3.9
Welcome to go-pear!
Go-pear will install the 'pear' command and all the files needed by
it. This command is your tool for PEAR installation and maintenance.
Go-pear also lets you download and install the PEAR packages bundled
with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit.
If you wish to abort, press Control-C now, or press Enter to continue:
HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none::
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation prefix : /usr 2. Binaries directory : $prefix/bin3. PHP code directory ($php_dir) : $prefix/share/pear 4. Documentation base directory : $php_dir/docs
5. Data base directory : $php_dir/data 6. Tests base directory : $php_dir/tests1-6, 'all' or Enter to continue: The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit. Would you like to install these as well? [Y/n] : y Loading zlib: ok Downloading package: PEAR-stable......ok Downloading package: Archive_Tar-stable....ok Downloading package: Console_Getopt-stable....ok Downloading package: XML_RPC-stable....ok Bootstrapping: PEAR...................(remote) ok Bootstrapping: Archive_Tar............(remote) ok Bootstrapping: Console_Getopt.........(remote) ok Downloading package: DB...............ok Downloading package: Net_Socket.......ok Downloading package: Net_SMTP.........ok Downloading package: Mail.............ok Downloading package: XML_Parser.......ok Downloading package: PHPUnit..........ok Extracting installer..................ok WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1) warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.2) pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version
= 0.5.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version = 0.4.0) install ok: channel://pear.php.net/PEAR-1.4.4WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update install ok: channel://pear.php.net/Archive_Tar-1.3.1 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update install ok: channel://pear.php.net/Console_Getopt-1.2 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update install ok: channel://pear.php.net/XML_RPC-1.4.4 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update install ok: channel://pear.php.net/DB-1.7.6 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update install ok: channel://pear.php.net/Net_Socket-1.0.6 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update pear/Net_SMTP can optionally use package "pear/Auth_SASL" install ok: channel://pear.php.net/Net_SMTP-1.2.7 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update install ok: channel://pear.php.net/Mail-1.1.9 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update install ok: channel://pear.php.net/XML_Parser-1.2.7 WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update pear/PHPUnit can optionally use package "pear/PHP_Compat" install ok: channel://pear.php.net/PHPUnit-1.3.1 The 'pear' command is now at your service at /usr/bin/pear -- Graham Clarke grahamc@53tech.com www.53tech.com 603.643.9955