Re: Re: CLI Problems
| From: | Timothy Marsolais | Date: | Tue, 10 Jan 2006 00:20:27 +0000 |
| Subject: | Re: Re: CLI Problems | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22486@lists.php.net to get a copy of this message | ||
Greg,
Thanks for your help. Here is the exact error message:
shell[~]# pear install DB
downloading DB-1.7.6.tgz ...
Starting to download DB-1.7.6.tgz (124,807 bytes)
...........................done: 124,807 bytes
requires package `PEAR' >= 1.0b1
DB: Dependencies failed
When I run a config command, this is what returns. This is the system info:
shell [~]# pear -V
PEAR Version: 1.3.5
PHP Version: 4.4.0
Zend Engine Version: 1.3.0
Running on: Linux xeon5.myhoster.net 2.6.13.2-grsec #1 SMP Tue Oct 4 07:53:19 EDT 2005 i686
I have used the copy/paste of the web interface installer from go-pear.org. This is what gives me
the error that the Web front-end installer has not been upgraded to work with the new version of
PEAR. Is this what you were referring to?
Thanks, again.
-Tim
>Timothy Marsolais wrote:
>> Hi,
>>
>> I have incorporated PEAR into every project I can, and have run into a whole
>> host of problems since the security problem was discovered in November. Prior
>> to then, I had been using the Web interface and installing a local copy on a
>> shared host. After the security vulnerability was fixed, my 20 PEAR projects
>> have been stranded.
>>
>> I have been able to request shell access from the hoster, but with the CLI I
>> have yet found a successful configuration. I get an error message saying that
>> I cannot install a local copy of pear without a previously existing copy of
>> PEAR. The hoster is running an older version of PEAR, but I cannot update the
>> packages because it is a system-wide installation of PEAR bundled with PHP--and
>> I do not, nor will I, have access to the that portion of the server.
>>
>> I can install packages, list, delete, etc. All of the PEAR CLI commands work
>> fine, excepting that I cannot install anything that requires PEAR as a
>> dependency. So, Mail is fine, but DB is out of the question--as well as the
>> updated version of PEAR. It requires a previous version of PEAR.
>>
>> Is there a way to set the pear config file to use the system version of PEAR as
>> the base so I can install a complete and current version of PEAR locally for
>> each project?
>>
>> If this is a developer's list question, please let me know. I joined that list,
>> as well.
>>
>> I hate the thought of NOT using PEAR in my projects--using my old code to
>> replace PEAR seems like such a digression . . . . Thanks, in advance for any
>> help.
>
>Hi Tim,
>
>First of all, what kind of error message specifically tells you that you
>can't install a local copy of pear without a previously existing copy?
>Please paste the exact error message here.
>
>Please paste the output of
>
>pear -V
>
>and I can give specific saving instructions.
>
>Also, if you download go-pear from go-pear.org, you may be able to
>install a local copy with:
>
>php go-pear.php local
>
>Try this to see if you can get a local copy installed.
>
>Greg
>
---------------------------------------
* Timothy Marsolais *
* http://www.Technology-Works.Net *
* 916.996.6542 *
* Build Projects that Matter *
---------------------------------------