PEAR segfaulting
| From: | Ashley M. Kirchner | Date: | Mon, 19 Oct 2009 15:59:45 +0000 |
| Subject: | PEAR segfaulting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-299053@lists.php.net to get a copy of this message | ||
Typing 'pear segmentation fault' in Google produces tons of responses so I know I'm not the only one with this issue, but I'll be damned if I can figure out what the problem is and how to fix it. I rolled my own PHP 5.3.0 from source. Compilation went fine, no errors. Installation went without any errors. I can run 'pecl' and install some packages, but when I try to run 'pear', it segfaults after it downloads a package:
--------------------
$ pear install DB
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
.............................done: 132,246 bytes
Segmentation fault
--------------------
Running it with -vvv gives me:
--------------------
$ pear -vvv install DB
Warning: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1510
Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1520
Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1520
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
pear/DB: Skipping required dependency "pear/PEAR" version 1.9.0, already installed as version 1.8.0
Downloading "http://pear.php.net/get/DB-1.7.13.tgz"
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
.............................done: 132,246 bytes
Segmentation fault
--------------------
So, is this a known issue?
-- A