Installing packages from SVN
This passage will describe how to install the latest development version of a PEAR package from SVN.
It is NOT recommended to run a package from SVN in working environments! Because SVN versions are not regular releases, this means:
You could get no kind of help from the maintainer or anybody other.
Versions in SVN may break the upgrade mechanism of the PEAR Installer.
You should use a package from SVN only, if:
The maintainer recommended it for you.
You want to help in development of a package.
You really need a special patch or function, which is not currently released.
If you still want to install a package from SVN, you have to do the same steps like a package maintainer creating a new release of a package. If you have problems following the next steps, take a look into the Developers Section of the manual.
Get the package files from SVN like described in http://www.php.net/svn.php
The name of the module to checkout is pear/<packagename>/trunk, i.e. svn checkout http://svn.php.net/repository/pear/packages/HTTP_Client/trunk HTTP_Client.
Check the package.xml file, especially the dir and file entries. They must match the existing files and directory structure. If they differ, contact the package maintainer and ask for an update of the package.xml.
Create a valid package using the PEAR Installer pear package <path to package.xml>
If you have already installed the package: remove it to avoid version conflicts: pear uninstall <package>
Install your package archive: pear install <package-file>
Now, you have a SVN version installed!
You should upgrade to an official release of the package as early as possible. Before you install the official release, uninstall the SVN version to avoid version conflicts.