Today I needed to install PEAR again on my machine and was surprised when it failed to install PEAR itself. I have the latest PHP4 installed v4.4.4 if someone can explain me the error message cause I didn’t understand it :
An Exception Has Occurred
Python Traceback
Traceback (most recent call last): File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 3623, in main request.run_viewvc() File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 388, in run_viewvc self.view_func(self) File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 2122, in view_checkout fp, revision = request.repos.openfile(path, rev) File "/usr/local/viewvc-1.1-dev/lib/vclib/bincvs/__init__.py", line 134, in op enfile filename, revision = _parse_co_header(fp) File "/usr/local/viewvc-1.1-dev/lib/vclib/bincvs/__init__.py", line 549, in _p arse_co_header raise COMalformedOutput, "Unable to find revision in co output stream" COMalformedOutput: Unable to find revision in co output stream
ok
The solution was go-pear, without the www. Download the latest version available on server and update then install again. It should work fine, I was just wondering why all other packages installed correctly except the main PEAR package ?
The second issue I faced today was installing the SOAP package, easy :
pear install –alldeps SOAP
But here is what the pear installer return :
Failed to download pear/SOAP within preferred state “stable”, latest release is version 0.9.4, stability “beta”, use “channel://pear.php.net/SOAP-0.9.4” to install Cannot initialize ‘SOAP’, invalid or missing package file Package “SOAP” is not valid install failed
Ok so SOAP package is still in beta, no if I want to install it anyway :
pear install –alldeps SOAP-0.9.4
It install SOAP package correctly with all its dependencies, except for NET_DIME and for the same reason. The package still in beta ! If I requested to install a beta package, I don’t mind if a dependency is available in beta too. Anyway Greg Beaver when he wrote The PEAR Installer Manifesto, I think he did the right thing to make a great resource available while working with the PEAR installer. A bon entendeur.