#26642 [NEW]: install crashed with segmentation fault
| From: | eero at ping-viini dot org | Date: | Wed, 17 Dec 2003 07:51:16 +0000 |
| Subject: | #26642 [NEW]: install crashed with segmentation fault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-52198@lists.php.net to get a copy of this message | ||
From: eero at ping-viini dot org
Operating system: Linux 2.6
PHP version: 5CVS-2003-12-17 (dev)
PHP Bug Type: Compile Failure
Bug description: install crashed with segmentation fault
Description:
------------
Make install crashes with following:
You may want to add: /usr/local/lib/php to your php.ini include_path
[PEAR] DB - already installed: 1.5.0RC1
[PEAR] HTTP - already installed: 1.2.1
make[1]: *** [install-pear-packages] Segmentation fault
make: *** [install-pear] Error 2
and my configure lines:
#!/bin/sh
export CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
./configure --with-mysql --with-bz2 --with-gd --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-gettext --enable-inline-optimization \
--with-apxs=/home/apache/bin/apxs --with-pgsql --with-zlib-dir=/usr/lib
--enable-ftp --enable-sockets --with-ming --with-mm --with-pdflib \
--enable-mime-magic --enable-dio --enable-calendar --enable-bcmath
--enable-wddx --with-xmlrpc --with-expat --with-dom --with-unixODBC \
--with-freetype --enable-gd-native-ttf --with-gettext --with-gmp
--enable-mbstring --enable-mbregex --enable-xslt --with-xslt-sablot \
--with-sablot-js --enable-shmop
Reproduce code:
---------------
[root@lnx php5-200312170630]# make install
Installing PHP SAPI module: apache
[activating module `php5' in /home/apache/conf/httpd.conf]
cp libs/libphp5.so /home/apache/libexec/libphp5.so
chmod 755 /home/apache/libexec/libphp5.so
cp /home/apache/conf/httpd.conf /home/apache/conf/httpd.conf.bak
cp /home/apache/conf/httpd.conf.new /home/apache/conf/httpd.conf
rm /home/apache/conf/httpd.conf.new
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 1.1
[PEAR] Console_Getopt - already installed: 2.0
[PEAR] PEAR - already installed: 1.3b4
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
[PEAR] DB - already installed: 1.5.0RC1
[PEAR] HTTP - already installed: 1.2.1
make[1]: *** [install-pear-packages] Segmentation fault
make: *** [install-pear] Error 2
[root@lnx php5-200312170630]#
--
Edit bug report at http://bugs.php.net/?id=26642&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26642&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26642&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26642&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26642&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26642&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26642&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26642&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26642&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26642&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26642&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26642&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26642&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26642&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26642&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26642&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26642&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26642&r=float