For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2006 > Pear installation problem - Solaris 8, php 5.1.2









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 installation problem - Solaris 8, php 5.1.2
Snyder, Jeff

2006-03-30, 6:59 pm

When installing PHP, it attempts to install PEAR, but doesn't quite
succeed:



[PEAR] Archive_Tar - already installed: 1.3.1

[PEAR] console_Getopt - already installed: 1.2

pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)

[PEAR] PEAR: commit failed



And then it exits the pear installation. It does install php, but not
pear.



Solaris 8, PHP 5.1.2, mysql 5.0.19, zlib 1.2.3, gcc 3.4.2



PHP: ./configure -with-apx2=/usr/local/apache2/bin/apxs
-with-mysql=/usr/local/mysql



Any ideas?



Jeff Snyder

Lead Software Engineer

Telenor Satellite Services, Inc.

1101 Wootton Parkway

Rockville, MD 20852



Jeff.Snyder@telenor-usa.com

Telephone: +1 301-838-7714



This message is intended only for the personal and confidential use of
the designated recipient(s) named. If you are not the intended recipient
of this message, you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be
regarded as confirmation of any transaction. Email transmission cannot
be guaranteed to be secure or error-free. Therefore, we do not represent
that this information is complete or accurate and it should not be
relied upon as such. All information is subject to change without
notice.




Steve Garcia

2006-03-30, 9:58 pm

Snyder, Jeff wrote:
> When installing PHP, it attempts to install PEAR, but doesn't quite
> succeed:
>
>
>
> [PEAR] Archive_Tar - already installed: 1.3.1
>
> [PEAR] console_Getopt - already installed: 1.2
>
> pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
>
> [PEAR] PEAR: commit failed



OK, I got this working. When you do a `pear upgrade pear` it downloads
the current versionof PEAR. Untar it and copy the OS, PEAR PEAR.php and
System.php directories and files into your php installation.

Then I did another `pear upgrade PEAR` and it was happy. That last step
may not have been necessary, but it didn't seem to hurt.
Steve Garcia

2006-03-30, 9:58 pm

Snyder, Jeff wrote:
> When installing PHP, it attempts to install PEAR, but doesn't quite
> succeed:
>
>
>
> [PEAR] Archive_Tar - already installed: 1.3.1
>
> [PEAR] console_Getopt - already installed: 1.2
>
> pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
>
> [PEAR] PEAR: commit failed
>
>
>
> And then it exits the pear installation. It does install php, but not
> pear.


I ran into the same problem, although I've gotten further than you. As
root, type:

pear upgrade XML_RPC

You'll get the most current version of XML_RPC, so you won't get that
message anymore. But the commit will still fail.

What you *want* to do is:

pear upgrade PEAR

Unfortunately, that fails -- it appears that you can't upgrade that far.

downloading PEAR-1.4.9.tgz ...
Starting to download PEAR-1.4.9.tgz (283,443 bytes)
..............................................done: 283,443 bytes
requires package `PEAR' >= 1.3.3
PEAR: Dependencies failed

When do a `pear list` I see that I have PEAR 1.3.2, so it's just too old.

Package Version State
Archive_Tar 1.3.1 stable
Console_Getopt 1.2 stable
DB 1.6.2 stable
HTTP 1.2.2 stable
Mail 1.1.3 stable
Net_SMTP 1.2.6 stable
Net_Socket 1.0.1 stable
PEAR 1.3.2 stable
XML_Parser 1.0.1 stable
XML_RPC 1.4.5 stable


I'm not sure where I go from here. Is there a way to manually upgrade PEAR?
Sponsored Links







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

Copyright 2008 codecomments.com