For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2006 > [PEAR] pear installer and uri dependencies?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [PEAR] pear installer and uri dependencies?
Sven Drieling

2006-05-25, 7:01 pm

Hello,

I'm trying to use the uri dependencies feature of the
pear installer and getting this error

--------
pear5test install http://indy.sven-drieling.de/testar...verse-0.1.0.tgz

downloading Example_HelloUniverse-0.1.0.tgz ...
Starting to download Example_HelloUniverse-0.1.0.tgz (3,044 bytes)
.....done: 3,044 bytes
downloading Example_HelloWorld-0.1.0.tgz ...
Starting to download Example_HelloWorld-0.1.0.tgz (2,879 bytes)
....done: 2,879 bytes

Notice: Undefined index: dep in PEAR/Downloader/Package.php on line 1014

Notice: Undefined index: info in PEAR/Downloader/Package.php on line 1017

Fatal error: Call to a member function getPackage() on a non-object
in /local/php-5.1.1-test/lib/php/PEAR/Downloader/Package.php on line 1017
-----------

Any tips?


PHP 5.1.1
PEAR 1.4.9

Example_HelloWorld/package2.xml

<name>Example_HelloWorld</name>
<uri>http://indy.sven-drieling.de/testar...elloWorld-0.1.0</uri>


Example_HelloUniverse/package2.xml

<name>Example_HelloUniverse</name>
<uri>http://indy.sven-drieling.de/testar...oUniverse-0.1.0</uri>

<dependencies>
<required>
<package>
<name>Example_HelloWorld</name>
<uri>http://indy.sven-drieling.de/testar...elloWorld-0.1.0</uri>
</package>
</required>
</dependencies>


Complete sources on

http://indy.sven-drieling.de/testar...mpleHelloWorld/
http://indy.sven-drieling.de/testar...eHelloUniverse/


tschuess
[|8:)
Greg Beaver

2006-05-25, 7:01 pm

Sven Drieling wrote:
> Hello,
>
> I'm trying to use the uri dependencies feature of the
> pear installer and getting this error
>
> --------
> pear5test install http://indy.sven-drieling.de/testar...verse-0.1.0.tgz
>
> downloading Example_HelloUniverse-0.1.0.tgz ...
> Starting to download Example_HelloUniverse-0.1.0.tgz (3,044 bytes)
> ....done: 3,044 bytes
> downloading Example_HelloWorld-0.1.0.tgz ...
> Starting to download Example_HelloWorld-0.1.0.tgz (2,879 bytes)
> ...done: 2,879 bytes
>
> Notice: Undefined index: dep in PEAR/Downloader/Package.php on line 1014
>
> Notice: Undefined index: info in PEAR/Downloader/Package.php on line 1017
>
> Fatal error: Call to a member function getPackage() on a non-object
> in /local/php-5.1.1-test/lib/php/PEAR/Downloader/Package.php on line 1017
> -----------
>
> Any tips?
>
>
> PHP 5.1.1
> PEAR 1.4.9
>
> Example_HelloWorld/package2.xml
>
> <name>Example_HelloWorld</name>
> <uri>http://indy.sven-drieling.de/testar...elloWorld-0.1.0</uri>
>
>
> Example_HelloUniverse/package2.xml
>
> <name>Example_HelloUniverse</name>
> <uri>http://indy.sven-drieling.de/testar...oUniverse-0.1.0</uri>
>
> <dependencies>
> <required>
> <package>
> <name>Example_HelloWorld</name>
> <uri>http://indy.sven-drieling.de/testar...elloWorld-0.1.0</uri>
> </package>
> </required>
> </dependencies>
>
>
> Complete sources on
>
> http://indy.sven-drieling.de/testar...mpleHelloWorld/
> http://indy.sven-drieling.de/testar...eHelloUniverse/


Hi,

Please open a bug

Thanks,
Greg
Greg Beaver

2006-05-25, 7:01 pm

Hello,

Don't bother, I already opened a bug and fixed the problem:

http://pear.php.net/bugs/bug.php?id=7726

Greg

Sven Drieling wrote:
> Hello,
>
> I'm trying to use the uri dependencies feature of the
> pear installer and getting this error
>
> --------
> pear5test install http://indy.sven-drieling.de/testar...verse-0.1.0.tgz
>
> downloading Example_HelloUniverse-0.1.0.tgz ...
> Starting to download Example_HelloUniverse-0.1.0.tgz (3,044 bytes)
> ....done: 3,044 bytes
> downloading Example_HelloWorld-0.1.0.tgz ...
> Starting to download Example_HelloWorld-0.1.0.tgz (2,879 bytes)
> ...done: 2,879 bytes
>
> Notice: Undefined index: dep in PEAR/Downloader/Package.php on line 1014
>
> Notice: Undefined index: info in PEAR/Downloader/Package.php on line 1017
>
> Fatal error: Call to a member function getPackage() on a non-object
> in /local/php-5.1.1-test/lib/php/PEAR/Downloader/Package.php on line 1017
> -----------
>
> Any tips?
>
>
> PHP 5.1.1
> PEAR 1.4.9
>
> Example_HelloWorld/package2.xml
>
> <name>Example_HelloWorld</name>
> <uri>http://indy.sven-drieling.de/testar...elloWorld-0.1.0</uri>
>
>
> Example_HelloUniverse/package2.xml
>
> <name>Example_HelloUniverse</name>
> <uri>http://indy.sven-drieling.de/testar...oUniverse-0.1.0</uri>
>
> <dependencies>
> <required>
> <package>
> <name>Example_HelloWorld</name>
> <uri>http://indy.sven-drieling.de/testar...elloWorld-0.1.0</uri>
> </package>
> </required>
> </dependencies>
>
>
> Complete sources on
>
> http://indy.sven-drieling.de/testar...mpleHelloWorld/
> http://indy.sven-drieling.de/testar...eHelloUniverse/
>
>
> tschuess
> [|8:)

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com