#25242 [Opn]: Compile goes fine, but 'make install' dies during PEAR installation
| From: | shimi@php.net | Date: | Tue, 26 Aug 2003 14:08:53 +0000 |
| Subject: | #25242 [Opn]: Compile goes fine, but 'make install' dies during PEAR installation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46683@lists.php.net to get a copy of this message | ||
ID: 25242
User updated by: shimi@php.net
Reported By: shimi@php.net
Status: Open
-Bug Type: PEAR related
+Bug Type: Reproducible crash
Operating System: Linux 2.4.18-27.7.x (RH7.2)
PHP Version: 4.3.3
New Comment:
Appears that the problem is with PHP scripts that run through the CLI
in general. I have a few scripts who run from the commandline via
crond, and some of them now segfault as well, so if the PEAR installer
uses some PHP code, it could be that they both fail for the same
reason...
Previous Comments:
------------------------------------------------------------------------
[2003-08-25 21:27:00] shimi@php.net
Description:
------------
I compiled PHP4.3.3 with the same configure line that I had for
PHP4.3.2 and PHP4.3.3RC2 that used to work.
Appears that now, it does not.
[root php-4.3.3]# make install
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP SAPI module: apache
[activating module `php4' in /etc/httpd/conf/httpd.conf]
cp libs/libphp4.so /usr/lib/apache/libphp4.so
chmod 755 /usr/lib/apache/libphp4.so
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
cp /etc/httpd/conf/httpd.conf.new /etc/httpd/conf/httpd.conf
rm /etc/httpd/conf/httpd.conf.new
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault (core dumped)
make: *** [install-pear] Error 2
The configure line is as follows:
[root php-4.3.3]# php -i | grep configure
Configure Command => './configure' '--enable-memory-limit'
'--enable-zend-multibyte' '--with-tsrm-pthreads' '--with-tsrm-pth'
'--with-gzip' '--enable-yp' '--with-sablot-js'
'--enable-wddx'
'--enable-snmp' '--enable-shmop' '--with-mysql'
'--enable-mbregex'
'--enable-mbstring' '--with-ldap' '--with-imap-ssl'
'--with-iconv'
'--with-gd' '--enable-gd-native-ttf' '--enable-gd-jis-conv'
'--enable-ftp' '--with-dba' '--enable-calendar'
'--enable-bcmath'
'--with-bz2' '--with-zlib' '--with-openssl'
'--enable-fastcgi'
'--with-apxs' '--with-imap' '--with-gettext'
'--with-kerberos'
As mentioned before, it's the same configure line from the previous
versions, which always worked.
I would attach a gdb backtrace, just that I don't know what exactly did
segfault...
I
Actual result:
--------------
make install not completeing it's job (it is to be noted that PHP was
installed as an apache SAPI module, and the CLI was, too, and even the
SQLite extension that runs on PEAR, is loaded into PHP, but I still
don't like the fact it didn't finish the installation process).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25242&edit=1