RE: [PEAR-DEV] #19679 [NEW]: installation of packages fails pear 1.32.2.2
| From: | wessel | Date: | Mon, 30 Sep 2002 22:10:21 +0000 |
| Subject: | RE: [PEAR-DEV] #19679 [NEW]: installation of packages fails pear 1.32.2.2 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9730@lists.php.net to get a copy of this message | ||
Hi,
I had the
Relation 'has' with requirement '' is not supported
also with Net_SMTP Didn't try Cache
I solved it by adding a line in Dependency.php, function checkPackage,
4th line.
if ( $req == '' ) { echo "NO REQ"; return false; }
Sort of a hack of course, but it's this or adding a version in all
packages.xml files. Well, that's what I think at least.
But I just dived into the world of PEAR yesterday.
-- Wessel
Urs Gehrig wrote:
> fails pear 1.32.2.2
>
>
> do you have the same behaviour for those packages i reported this
> morning too? (see below)
>
> -urs
>
>> -----Original Message-----
>> From: Urs Gehrig [mailto:urs@circle.ch]
>> Sent: Sunday, September 29, 2002 10:32 PM
>> To: pear-dev@lists.php.net
>> Subject: [PEAR-DEV] Relation 'has' with requirement '' is not
>> supported
>>
>>
>> hello
>>
>> has anyone an idea what this could mean? :
>>
>> "Relation 'has' with requirement '' is not supported.."
>>
>> i tried to run "pear install Cache", which produced that
>> message. on the other hand Cache_Lite installation worked
>> well. i am on win2k using pear from the 4.2.3 dist.
>>
>> -urs
>>
>> *****
>>
>> C:\php>pear install Cache_Lite
>>
>> downloading http://pear.php.net/get/Cache_Lite ...
>> ...done: 16,349 bytes
>> installed file c:\php\doc\pear\Cache_Lite\Cache\docs\technical
>> installed file c:\php\doc\pear\Cache_Lite\Cache\docs\examples
>> installed file c:\php\doc\pear\Cache_Lite\Cache\tests\readme
>> installed file c:\php\pear\Cache\Lite\Output.php
>> installed file c:\php\pear\Cache\Lite\Function.php
>> installed file c:\php\pear\Cache\Lite.php
>> installed file c:\php\doc\pear\Cache_Lite\Cache\LICENSE install ok
>>
>> C:\php>pear install Cache
>>
>> downloading http://pear.php.net/get/Cache ...
>> ...done: 28,806 bytes
>>
>> Relation 'has' with requirement '' is not supported Dependencies
>> failed
>>
>> C:\php>pear install Net_SMTP
>>
>> downloading http://pear.php.net/get/Net_SMTP ...
>> ...done: 2,883 bytes
>>
>> Relation 'has' with requirement '' is not supported Dependencies
>> failed
>>
>> C:\php>
>>
>>
>> --
>> PEAR Development Mailing List (http://pear.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php