From:             michael at elfimov dot com
Operating system: Windows XP
PHP version:      4.3.4
PHP Bug Type:     *General Issues
Bug description:  go-pear.bat doesn't found PHPUnit while installing

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 bug report at http://bugs.php.net/?id=26880&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26880&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26880&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26880&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26880&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26880&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26880&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26880&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26880&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26880&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26880&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26880&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26880&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26880&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26880&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26880&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26880&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26880&r=float

Reply via email to