#43112 [Asn]: install-pear-installer fails
| From: | cellog@php.net | Date: | Thu, 01 Nov 2007 04:11:41 +0000 |
| Subject: | #43112 [Asn]: install-pear-installer fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119177@lists.php.net to get a copy of this message | ||
ID: 43112
Updated by: cellog@php.net
Reported By: buck dot golemon at amd dot com
Status: Assigned
Bug Type: Compile Failure
Operating System: RHEL (Taroon Update 3)
PHP Version: 5.2.4
Assigned To: cellog
New Comment:
you have a corrupted PEAR installation from a previous version. Best
is to wipe out /usr/local/lib/php/.registry and try again. Before
wiping, run:
pear list
and note the packages installed. After you've upgraded PEAR, you will
want to re-install these packages using
pear upgrade -o <Packagename1> <Packagename2>
where <PackagenameX> is the package you had installed. For example:
pear upgrade -o HTML_QuickForm DB
You did find a real bug in the error handling, but you would still need
to wipe out your corrupted registry in order to upgrade PEAR even after
the fix.
Greg
Previous Comments:
------------------------------------------------------------------------
[2007-10-31 10:18:50] jani@php.net
Assigned to the PEAR installer maintainer.
------------------------------------------------------------------------
[2007-10-26 23:55:27] buck dot golemon at amd dot com
Description:
------------
# php --version
PHP 5.2.4 (cli) (built: Oct 26 2007 15:29:20)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
# make install-pear-installer
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
Notice: Array to string conversion in
phar://install-pear-nozlib.phar/PEAR/Registry.php on line 483
Fatal error: Call to a member function setConfig() on a non-object in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 558
make: *** [install-pear-installer] Error 255
Expected result:
----------------
install
Actual result:
--------------
fails
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43112&edit=1