Re: error during php make install
| From: | Greg Beaver | Date: | Tue, 27 Nov 2007 00:41:50 +0000 |
| Subject: | Re: error during php make install | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28229@lists.php.net to get a copy of this message | ||
Julie Knoll wrote:
> I get this error when running make install for php 5.2.5 on OSX Leopard.
>
> Notice: unserialize(): Error at offset 244 of 933 bytes in
> phar://install-pear-nozlib.phar/PEAR/Config.php on line 1007
>
> Fatal error: Call to undefined method PEAR_Error::getLayers() in
> phar://install-pear-nozlib.phar/index.php on line 66
>
> Any ideas?
Hi Julie,
It looks like you have an existing PEAR installation that is corrupt.
If you can figure out where it is installed (search for pear.reg, it may
be in /usr/local/lib/php/.registry), remove the .registry directory and
try again, it should work.
I'll check to make sure that fatal error is not in PEAR 1.7.0, thanks
for the report.
Greg