php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31164 make install error
Submitted: 2004-12-18 00:04 UTC Modified: 2004-12-18 15:55 UTC
From: abajolet at toiletoine dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.10 OS: Linux Mandrake 8.1(2.6.9 kernel)
Private report: No CVE-ID: None
 [2004-12-18 00:04 UTC] abajolet at toiletoine dot net
Description:
------------
Hello,

This bug seems to be related to Bugs #30993 (5.0.2) and #30011 (5.0.3)

When i tryed to 'make install' :

Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/
cp .libs/libphp4.so /usr/local/apache2/modules/libphp4.so
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /home/src/php-4.3.10/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
[activating module `php4' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PEAR environment:      /usr/local/lib/php/
make[1]: *** [install-pear-installer] Erreur de segmentation (vidange m?moire)
make: *** [install-pear] Erreur 2

When i modify the Makefile as suggested in #30011 contributions :

"A simple workaround for this issue (until it gets resolved) could be
adding "|| true" to the end of two targets "install-pear-installer" and
"install-pear-packages"install-pear-installer in the Makefile",

the install works fine, but without updating pear.

My ./configure :

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/etc \
--with-ming \
--with-ldap \
--with-mysql \
--with-pgsql \
--with-gd \
--with-jpeg-dir=../jpeg-6b \
--with-png-dir=../libpng-1.2.2 \
--with-freetype-dir=../freetype-2.1.7 \
--with-t1lib \
--enable-bcmath \
--enable-calendar \
--enable-trans-sid \
--with-mcrypt \
--with-mhash \
--with-regex=php \
--with-zlib \
--enable-ftp \
--with-snmp \
--with-openssl=/usr/local/ssl \
--enable-sockets \
--enable-track-vars \
--enable-magic-quotes \
--enable-xslt \
--with-xslt-sablot \
--with-iconv=/usr/local \
--enable-sigchild \
--enable-inline-optimization \
--with-mm=/usr/local/mm \
--enable-sysvsem \
--enable-sysvshm \
--enable-sysvmsg \
--enable-pcntl

Regards,
Antoine Bajolet


Reproduce code:
---------------
N/A

Expected result:
----------------
...Installing without errors ;-)

Actual result:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-18 00:49 UTC] abajolet at toiletoine dot net
I just had the same error with 4.3.9 version.
Before upgrading openssl => 0.9.7e (?), i haven't this error
 [2004-12-18 03:27 UTC] derick@php.net
Try removing all Zend extensions that you have loaded.
 [2004-12-18 12:54 UTC] abajolet at toiletoine dot net
Tryed to remove all Zend extensions in php.ini (Optimizer + mmcache)
=> Same error
Tryed to recompile all after that (make clean && make && make install)
=> Same error
 [2004-12-18 15:55 UTC] sniper@php.net
You've got some library linked with old openssl library.
And now that you installed the new one, they collide and cause crash. This is not PHP bug, please ask support quostions on how to install PHP someplace else.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 21:01:26 2024 UTC