#19679 [NEW]: installation of packages fails pear 1.32.2.2
| From: | wessel at louwris dot nl | Date: | Mon, 30 Sep 2002 20:57:45 +0000 |
| Subject: | #19679 [NEW]: installation of packages fails pear 1.32.2.2 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9728@lists.php.net to get a copy of this message | ||
From: wessel@louwris.nl
Operating system: linux 2.4 - debian
PHP version: 4.2.2
PHP Bug Type: PEAR related
Bug description: installation of packages fails pear 1.32.2.2
Installing packages with dependencies without version numbers (like mdb,
depends on XML_Parser, but not on a specific version), the installation
proces fails:
pear -v install http://pear.php.net/get/mdb
...
Relation 'has' with requirement '' is not supported
...
If I look in Dependency.php,v 1.5.2.1 , function checkPackage does not
have a case where it accepts a requirement without version number.
So I think all package.xml files need to be updated, or the function needs
a line which accepts a dependency without requirement (that's what I
changed in my version). Or maybe my version is out of date anyway?
Wessel
--
Edit bug report at http://bugs.php.net/?id=19679&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19679&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19679&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19679&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19679&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19679&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19679&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19679&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19679&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19679&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19679&r=globals