Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Bug #6244 PEAR installation problems
Submitted: 2005-12-14 17:44 UTC
From: info at e-novative dot de Assigned:
Status: No Feedback Package: PEAR
PHP Version: 5.1.1 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 36 - 22 = ?

 
 [2005-12-14 17:44 UTC] info at e-novative dot de
Description: ------------ I have some problems with the new phar-based go-pear on a freshly installed WAMP with PHP 5.1.1. 1. The installer complains that pear.bat is not in the path, but it is (path was set before command shell was opened, so no problem with un-updated environment variables). The "set" commands correctly lists "c:\Programme\e-novative\WAMP\php" as part of the PATH 2. The installer gives a warning (see output below) and creates a pear.bat_old though no other pear.bat was present before the PEAR installation. The generated pear.bat and pear.bat_old are exactly the same files 3. PEAR_env.reg contains a path "PHP_PEAR_PHP_BIN"="C:\\Programme\\e-novative\\WAMP\\php\\.\\php.exe" Not a real bug, but unneccessary, that dot? 4. The --alldeps switch is not recognized: C:\Dokumente und Einstellungen\Steve>pear upgrade-all --alldeps Console_Getopt: unrecognized option --alldeps 5. More of a enhancement request: on first install, shouldn't the PEAR installer do the channel upgrade automatically? 6. pecl creates PHP warnings: C:\Programme\e-novative\WAMP\php>pecl list-all Warning: Invalid argument supplied for foreach() in PEAR\REST\11.php on line 145 (repeated several times, but the command works) Actual result: -------------- Beginning install... Configuration written to C:\WINNT\pear.ini... Initialized registry... Preparing to install... installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar... installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar... installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.5.tar... WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) install ok: channel://pear.php.net/Archive_Tar-1.3.1 install ok: channel://pear.php.net/Console_Getopt-1.2 install ok: channel://pear.php.net/PEAR-1.4.5 PEAR: Optional feature webinstaller available (PEAR's web-based installer) PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer) To install use "pear install PEAR#featurename" ** WARNING! Backed up old pear to c:\Programme\e-novative\WAMP\php\pear.bat_old The 'pear' command is now at your service at c:\programme\e-novative\wamp\php\pear.bat ** The 'pear' command is not currently in your PATH, so you need to ** use 'c:\programme\e-novative\wamp\php\pear.bat' until you have added ** 'C:\Programme\e-novative\WAMP\php' to your PATH environment variable. Run it without parameters to see the available actions, try 'pear list' to see what packages are installed, or 'pear help' for help. For more information about PEAR, see: http://pear.php.net/faq.php http://pear.php.net/manual/ Thanks for using go-pear! * WINDOWS ENVIRONMENT VARIABLES * For convenience, a REG file is available under C:\Programme\e-novative\WAMP\php\ PEAR_ENV.reg . This file creates ENV variables for the current user. Double-click this file to add it to the current user registry.

Comments

 [2006-01-02 18:57 UTC] cellog
first of all, open only 1 bug report for each bug. This is a mess. The notice in PEAR/REST/11.php is fixed. I am unconvinced that your path was set properly. This works on 10 independent windows systems. Same for the pear.bat. The . in the directory was something entered, go-pear won't add that. Please provide everything you entered, the paths chosen, and so on.