Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.4

Bug #17451 Misleading error message about PHP_Compat/PHP_CompatInfo
Submitted: 2010-06-01 15:24 UTC
From: izi Assigned: dufuz
Status: Closed Package: PEAR_PackageFileManager2 (version 1.0.1)
PHP Version: 5.3.2 OS: Ubuntu lucid
Roadmaps: (Not assigned)    
Subscription  


 [2010-06-01 15:24 UTC] izi (David Jean Louis)
Description: ------------ PEAR_PackageFileManager2 depends on PHP_CompatInfo optionally. I've installed it without alldeps option, and got this error: "PEAR_PackageFileManager2 Error: PHP_Compat is not installed, cannot detect dependencies" So naively I did: $ pear install PHP_Compat But I was still getting the error, until I realized that it was PHP_CompatInfo that was missing. Test script: --------------- Install PEAR_PackageFileManager2 without PHP_CompatInfo, run a script that requires it Expected result: ---------------- PEAR_PackageFileManager2 Error: PHP_CompatInfo is not installed, cannot detect dependencies Actual result: -------------- PEAR_PackageFileManager2 Error: PHP_Compat is not installed, cannot detect dependencies

Comments

 [2011-03-24 04:24 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Open +Status: Closed -Assigned To: +Assigned To: dufuz
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.