Bug #7137 [Opn]: Install from go-pear.org fails

From: Date: Mon, 20 Mar 2006 21:31:22 +0000
Subject: Bug #7137 [Opn]: Install from go-pear.org fails
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7698@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=7137&edit=1 ID: 7137 Updated by: arnaud@php.net Reported By: beckman at purplecow dot com Status: Open Id: 7137 Type: Bug Package: Documentation Operating System: FreeBSD 6.0 PHP Version: 5.1.2 -Assigned To: +Assigned To: cellog New Comment: It does indeed emit warnings but install fines. I guess the bundle needs to be updated. Previous Comments: ------------------------------------------------------------------------ [2006-03-16 16:43:38] beckman at purplecow dot com Confirming my CLI install: (root) nog: 6 : ~ --> php -v PHP 5.1.2 (cli) (built: Mar 14 2006 21:07:41) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies with eAccelerator v0.9.4-rc1, Copyright (c) 2004-2004 eAccelerator, by eAccelerator Also -- this is under Documentation, because either the Installation documentation needs to be updated, or I don't know where to classify this bug. ------------------------------------------------------------------------ [2006-03-16 16:38:31] beckman at purplecow dot com Description: ------------ When attempting to install PEAR from http://go-pear.org/ installation fails, complaining about pear requiring Archive_Tar >= 1.3.1 and Console_Getopt >= 1.2, even though it seems they were downloaded and installed OK. Script was run as 'root'. 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: 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) Exit 255 Test script: --------------- fetch -q -o - http://go-pear.org/ | php -q Expected result: ---------------- I expected pear to install successfully. Actual result: -------------- (root) nog: 6 : ~ --> fetch -q -o - http://go-pear.org/ | php -q 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/local 2. Binaries directory : $prefix/bin 3. 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/tests 1-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] : 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: 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) Exit 255 (root) nog: 6 : ~ --> ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=7137&edit=1

« previous php.pear.doc (#7698) next »