Re: Pyrus: problem installing xdebug / package name changed
| From: | Brett Bieber | Date: | Fri, 05 Mar 2010 15:22:12 +0000 |
| Subject: | Re: Pyrus: problem installing xdebug / package name changed | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53297@lists.php.net to get a copy of this message | ||
On Thu, Mar 4, 2010 at 4:23 AM, Christian Weiske <cweiske@cweiske.de> wrote:
> Hi all,
>
>
> Trying to install xdebug with pyrus fails because of:
> --------
> pyrus-5.3.1 -v install pecl/xdebug
> Pyrus version 2.0.0a1 SHA-1: 2FDFB5E00A6D707437DBC047AAF9D115C6484D90
> Using PEAR installation found at /root/phpfarm/inst/pear2/5.3.1
>
> Connected...
> Mime-type: application/octet-stream
>
> pear2\Pyrus\Package\Exception: Invalid package downloaded, package name
> changed from Xdebug to xdebug>] 100% (282/282 kb)
> --------
>
> Probably because
> http://pecl.php.net/rest/p/xdebug/info.xml
> contains name "Xdebug", and
> http://pecl.php.net/rest/r/xdebug/package.2.0.5.xml
> has "xdebug" as name.
You're correct. Right now the name in the rest files has to exactly
match the name contained in the package.xml file in the .tgz. This is
something that should be resolved with Xdebug.
There are complexities with not requiring the case to match exactly
because of the XML registry and filesystem structure pyrus uses to
keep track of installed packages. I feel like the package names should
be consistent case-wise.
> --
> Regards/Mit freundlichen Grüßen
> Christian Weiske
>
> -= Geeking around in the name of science since 1982 =-
--
Brett Bieber