Re: Problem installing with dependancies
| From: | Greg Beaver | Date: | Wed, 17 Jun 2009 19:35:15 +0000 |
| Subject: | Re: Problem installing with dependancies | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29890@lists.php.net to get a copy of this message | ||
Michael Muratet wrote:
> Greetings all
>
> It's been a few years since I used php and I've never used pear. I'm
> trying to update some modules for a legacy web site system and I'm stuck
> on Mail::mime because of a dependancy that won't install:
>
> # pear upgrade --alldeps Mail_mime
> downloading Mail_Mime-1.5.2.tgz ...
> Starting to download Mail_Mime-1.5.2.tgz (22,176 bytes)
> ........done: 22,176 bytes
> downloading Mail_mimeDecode-1.5.0.tgz ...
> Starting to download Mail_mimeDecode-1.5.0.tgz (9,281 bytes)
> ...done: 9,281 bytes
>
> Warning: sortpackagesforinstall(Structures/Graph.php): failed to open
> stream: No such file or directory in PEAR/Downloader.php on line 1217
> PHP Warning: sortpackagesforinstall(Structures/Graph.php): failed to
> open stream: No such file or directory in
> /usr/local/PEAR/PEAR/Downloader.php on line 1217
> PHP Fatal error: sortpackagesforinstall(): Failed opening required
> 'Structures/Graph.php' (include_path='/usr/local/PEAR') in
> /usr/local/PEAR/PEAR/Downloader.php on line 1217
>
> Is this a flaw in the package, or a flaw in my pear installation, or is
> further test required?
Hi Michael,
It sounds like your PEAR installation is borked. You can grab
Structures/Graph.php from http://cvs.php.net/pear/Structures/Graph.php
and save it in /usr/local/PEAR/Structures/Graph.php and then run:
pear up -f PEAR Structures_Graph
and you should be fixed up hopefully.
Greg