php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26642 install crashed with segmentation fault
Submitted: 2003-12-17 02:51 UTC Modified: 2004-01-01 20:50 UTC
From: eero at ping-viini dot org Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2003-12-17 (dev) OS: Linux 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eero at ping-viini dot org
New email:
PHP Version: OS:

 

 [2003-12-17 02:51 UTC] eero at ping-viini dot org
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]#



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-17 11:23 UTC] iliaa@php.net
Try compiling PHP without -march=athlon & -fomit-frame-pointer
in certain versions of GCC overoptimizations can result in invalid code.
 [2004-01-01 20:50 UTC] sniper@php.net
Not PHP bug.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 03 19:00:01 2025 UTC