#26880 [Opn->Bgs]: go-pear.bat doesn't found PHPUnit while installing
| From: | sniper@php.net | Date: | Mon, 12 Jan 2004 14:57:22 +0000 |
| Subject: | #26880 [Opn->Bgs]: go-pear.bat doesn't found PHPUnit while installing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53189@lists.php.net to get a copy of this message | ||
ID: 26880
Updated by: sniper@php.net
Reported By: michael at elfimov dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Windows XP
PHP Version: 4.3.4
New Comment:
This is wrong place to report PEAR bugs.
Previous Comments:
------------------------------------------------------------------------
[2004-01-12 08:28:27] michael at elfimov dot com
Description:
------------
I tried to install the PEAR packages by the go-pear.bat script
via command shell. While looking for existing packages script
go-pear.php tries to find 'phpUnit' (as on source line 164):
$pfc_packages = array(
'DB',
'Net_Socket',
'Net_SMTP',
'Mail',
'XML_Parser',
'phpUnit'
);
but because of case-sensitivity script can't find distribution file
go-pear-bundle/PHPUnit-1.0.0-alpha2.tgz, and then start tring to
download them.
Required changes: edit $pfc_packages and replace 'phpUnit' with
'PHPUnit'
or make changes around line 590 in go-pear.php:
if (substr($file, 0, strlen($pkg)) == $pkg)
to
if (substr(strtolower($file), 0, strlen($pkg)) == strtolower($pkg))
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26880&edit=1