Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #558 wrong package order in install cmd?
Submitted: 2004-01-12 13:00 UTC
From: nisse at riotdesign dot com Assigned: gurugeek
Status: Closed Package: Documentation
PHP Version: Irrelevant OS: -
Roadmaps: (Not assigned)    
Subscription  


 [2004-01-12 13:00 UTC] nisse at riotdesign dot com
Description: ------------ http://pear.php.net/manual/en/installation.shared.php when trying to install PEAR by using this command (as specified on the web page): $ pear -c ~/.pearrc install Archive_Tar PEAR Console_Getopt XML_RPC i got the following error message: requires package `Console_Getopt' >= 1.2 requires package `XML_RPC' >= 1.0.4 PEAR: Dependencies failed it seems as the problem is solved if PEAR is put at the end of the command, like this: $ pear -c ~/.pearrc install Archive_Tar Console_Getopt XML_RPC PEAR Peace Nisse

Comments

 [2004-01-12 18:59 UTC] mj
no website bug.
 [2004-01-13 00:17 UTC] cellog
I'm pretty sure this is not a bug in documentation - the order of packages on the command-line should be insignificant. However, I'm also positive that the PEAR version you have globally installed is old I am also positive you are not using the latest version of PEAR, so the fix is to change the order in the docs, and add a note that the order is important in PEAR version 1.2.1 and lower.
 [2004-02-08 14:29 UTC] gurugeek
Hello, as per mj and cellog comments this is not a website bug. You are almost certainly running an old version of pear and probably and old version of PHP ("If you have a recent installation of PHP, you can relax: The PEAR base installation is already there, unless you have compiled your PHP with the ./configure flag --without-pear.") Best Regards David Costa