PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #6244

PEAR installation problems

Details

Submitted2005-12-14 17:44 UTC
Frominfo at e-novative dot de
StatusNo Feedback
PackagePEAR
PHP Version5.1.1
OSWindows XP
Roadmaps(Not assigned)

Comments

[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.