Re: Make error trying to install PEAR package manager
| From: | derek fong | Date: | Tue, 26 Mar 2002 16:35:15 +0000 |
| Subject: | Re: Make error trying to install PEAR package manager | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1057@lists.php.net to get a copy of this message | ||
Hi Tomas,
Well, I updated everything in php4/pear and pear/, then configured and
re-installed all the PEAR stuff. It works! Previously, pear -v install
Foo.tgz didn't return anything other than "couldn't open package:", but now
the installs and uninstalls work great. Kudos! (FWIW, this is all under
Mac OS X 10.1.3, powerpc-apple-darwin5.3.)
Now that I have the package manager working, I'll take a look at go-pear
when the dust settles over here. Thanks again for your help!
-f
--
Derek Fong
Web Application Developer
subtitle designs inc. <http://www.subtitled.com/>
"Mistakes are the portals of discovery." --James Joyce
>> GPG key/fingerprint available upon request <<
On 3.26.02 10:13 am, "Tomas V.V.Cox" <cox@idecnet.com> wrote:
> derek fong wrote:
>>
>>> From CVS, I got everything in pear/ as instructed. As a test, I then did
>> pear package HTML_QuickForm/package.xml while I was in ~/sandbox/pear. I
>> kept getting an error that pear couldn't open package.xml. It wasn't until
>> I went into the HTML_QuickForm directory and just did pear package
>> package.xml that it managed to package everything up. Just a thought, but
>> shouldn't it work even if you're not in the actual sub-package's directory?
>> (Well, that's the impression the docs gave anyway.) Anyway, it's a minor
>> issue, but I think it should be fixed eventually...
>>
>> The other problem that I'm having now is trying to install the actual
>> package I just created. When I do pear install HTML_QuickForm-1.12.tgz, I
>> get "pear: could not open the package file:". According to the docs, this
>> should work, no? Incidentally, I also tried the other syntax mentioned in
>> the docs (pear install http://pear.php.net/get/HTTP_Upload) and that gave me
>> the same error. Am I missing something from my PEAR installation? I just
>> installed the PEAR base packages from CVS about three days ago so I think
>> I'm pretty up-to-date in that area.
>
> All this you say here, works for me with no problem. Perhaps: a) Stig
> and I were working very very recently in the Installer, so perhaps 3
> days is not enough, b) the rest of the support libs you are using are
> outdated (Getopt, Tar, System, PEAR/*), c) you are testing it under some
> operating system that hasn't been tested yet, d) your PEAR installation
> is broken (try go-pear).
>
> Please let us know what is causing your problems or at least a more
> detailed report. BTW, try "pear -v install Foo.tgz".
>
>> Oh, and one last thing: is there a direct link to the Package Browser on the
>> PEAR site? I didn't even know it existed until I read the doc and hunted on
>> the PEAR site for it. Maybe a link in the top menu would be better?
>>
>
> As you are probably releasing, all this thing is very new and apart that
> is working very fine for most of us, it's still in beta stage. That's
> why you don't see the whole pear web. Try http://pear.php.net/?devme to
> set the properly cookie, to be able to navigate through the whole site.
>
>
> Tomas V.V.Cox