PEAR installation segfaults.
| From: | Aman Patel | Date: | Mon, 30 Jul 2007 15:34:17 +0000 |
| Subject: | PEAR installation segfaults. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27763@lists.php.net to get a copy of this message | ||
I've tried both methods of installing PEAR:
1) php configure line --with-pear
This fails when I perform "make install" with the following message:
Installing PHP SAPI module: apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/bin/libtool'
libphp5.la /usr/lib/apache2/modules
/usr/bin/libtool --mode=install cp libphp5.la /usr/lib/apache2/modules/
cp .libs/libphp5.so /usr/lib/apache2/modules/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php/php-5.1.6/libs'
chmod 644 /usr/lib/apache2/modules/libphp5.so
[activating module `php5' in /etc/apache2/httpd.conf]
Installing PHP CLI binary: /usr/local/sw/php/bin/
Installing PHP CLI man page: /usr/local/sw/php/man/man1/
Installing shared extensions: /usr/local/sw/php/lib/php/20050922/
Installing build environment: /usr/local/sw/php/lib/php/build/
Installing header files: /usr/local/sw/php/include/php/
Installing helper programs: /usr/local/sw/php/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/sw/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/sw/php/share/pear/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
2) I've tried the go-pear method which also segfaulted when "bootstrapping PEAR"
1. Installation prefix ($prefix) : /usr/local/pear
2. Temporary files directory : $prefix/temp
3. Binaries directory : $prefix/bin
4. PHP code directory ($php_dir) : $prefix/PEAR
5. Documentation base directory : $php_dir/docs
6. Data base directory : $php_dir/data
7. Tests base directory : $php_dir/tests
1-7, 'all' or Enter to continue:
The following PEAR packages are bundled with PHP: PEAR_Frontend_Web-beta,
PEAR_Frontend_Gtk2, MDB2.
Would you like to install these as well? [Y/n] : n
Loading zlib: ok
Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) ok
Extracting installer..................
Downloading package: PEAR.............ok
Downloading package: Structures_Graph....ok
Preparing installer..................
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
Installing selected packages..................
Installing bootstrap package: PEAR...................Segmentation fault
----
I'm using Debian OS, with apache2 and php 5.1.6
I haven't updated to 5.2 yet because 5.2. doesn't have a extension
that I need (versign's pfpro extension).
thanks for any insight in to this problem. If I haven't provided all
the info, please let me know!
--
Aman