Re: call to action for PEAR 1.3.2

From: Date: Fri, 22 Oct 2004 22:15:05 +0000
Subject: Re: call to action for PEAR 1.3.2
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-1901@lists.php.net to get a copy of this message
Arnaud Limbourg wrote:
Everything is tried under Linux using php 5.0.1 1. Gopear I used ~/testbed/pear/go-pear as a prefix. Everything went right except the files are not there. I don't know where they got installed or if they even did. I tried again with /home/arnaud/testbed/pear/go-pear and it worked.
This may be a bug in PHP - not sure though.
3. The install command still downloads then checks dependencies (see [5])
This is not fixable in 1.3, but was a primary goal of 1.4. To fix it requires a rewrite of the installer/downloader (which I have completed).
4. It would be nice if the fail on a dependency that does not match the preferred_state could happen before the actual download (see [1])
same answer :)
Setting the state to something lower makes it work as it should. So the command is behaving correctly except the error message popping up late in the process (after the download). See [2] 5. Only required dependencies work well. See [4]
this is more serious. I'll see if I can scrape a fix up.
8. pear remote-list Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3735552 bytes) in /usr/lib/php/XML/RPC.php(750) : eval()'d code on line 766 Allowed memory size of 8388608 bytes exhausted (tried to allocate 256 bytes) I didn't try all the other commands but i got a couple of those in the remote-acting commands.
This is a bug in the XML_RPC class that is because of the design choices made, and would require a complete rewrite of XML_RPC to fix :(.
Hope that helps.
it does :)
[1] pear install -a SOAP No release with state equal to: 'stable' found for 'SOAP' development/pear-core> pear install -a SOAP-beta downloading SOAP-0.8RC3.tgz ... Starting to download SOAP-0.8RC3.tgz (67,608 bytes) .................done: 67,608 bytes downloading Mail_Mime-1.2.1.tgz ... Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes) ...done: 15,268 bytes downloading HTTP_Request-1.2.3.tgz ... Starting to download HTTP_Request-1.2.3.tgz (12,823 bytes) ...done: 12,823 bytes downloading Net_URL-1.0.14.tgz ... Starting to download Net_URL-1.0.14.tgz (5,173 bytes) ...done: 5,173 bytes downloading Net_Socket-1.0.2.tgz ... Starting to download Net_Socket-1.0.2.tgz (3,706 bytes) ...done: 3,706 bytes Release for 'soap' dependency 'Net_DIME' has state 'beta', requires 'stable' install failed
This, however, might be fixable, I'll see if I can do it without a rewrite.
The following is modified package.xml to have a required and optional dependency in the smae package. sudo pear install -o package.xml skipping Package 'liveuser' optional dependency 'MDB' skipping Package 'liveuser' optional dependency 'XML_Tree' skipping Package 'liveuser' optional dependency 'MDB2' install ok: LiveUser 0.13.2
what was the required dep? Greg

« previous php.pear.qa (#1901) next »