Description:
------------
In the package.xml there needs to be a dependency specification for the
extension SimpleXML. Running this package with simple PHP builds with
SimpleXML disabled causes errors when attempting to run
PEAR_PackageFileManager_Cli.
Please see:
http://pear.php.net/bugs/bug.php?id=13098http://bugs.gentoo.org/show_bug.cgi?id=209515
Test script:
---------------
Run pfm (PEAR_PackageFileManager_Cli) in a pear package using svn on Gentoo where PHP has SimpleXML disabled.
Expected result:
----------------
No errors
Actual result:
--------------
At the end (after entering "maintainer #1's email", but before the
summary is
printed), the following error message gets printed:
PEAR_PackageFileManager_SVN Error: simplexml extension is required in
PHP 5+.
PHP 4 uses XML_Tree

Comments

According to Greg we can't do a :
If PHP 4 depend on X but if PHP 5 depend on Y
Silly I know but I'm not sure what to do then, I'll find a bit more decent solution then the die but we'll never find the ideal solution we both crave.

This bug has been fixed in CVS.
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.
I made XML_Serializer as a required dep and simplexml as a optional one, XML_Serializer works fine on PHP 5 but just as good to use simplexml if it's available.