php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22821 [php] make install breaks with core dump
Submitted: 2003-03-22 00:25 UTC Modified: 2003-03-26 17:37 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: comus1 at korea dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.2RC1 OS: solaris 7
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: comus1 at korea dot com
New email:
PHP Version: OS:

 

 [2003-03-22 00:25 UTC] comus1 at korea dot com
Apache 2.0.43
php 4.3.2RC1

apache success installed!!!

php installing

Configure options:
./configure --prefix=/usr/local/php \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-openssl=/usr/local/ssl \
--with-informix=/services/informix \
--with-gd \
--with-curl \
--enable-gd-native-ttf \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr/local \
--with-pgsql=/usr/local/pgsql \
--with-mysql=/services/mysql

Configure and make do the job just fine (I had problems with make due to
the non-GNU sed, but that is settled now).

But make install cracks with the following output:
Installing PHP CLI binary:        /usr/local/php-4.3.0/bin/
Installing PHP SAPI module
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
chmod +x /usr/local/apache2/modules/libphp4.so
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /data1/Working/php-4.3.2RC1/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
[activating module `php4' in /usr/local/apache2/conf/httpd.conf]
Installing shared extensions:     /usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/php/lib/php/
Segmentation Fault - core dumped
make[1]: *** [install-pear-installer] Error 139
make: *** [install-pear] Error 2

why happen core dumped?????

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-22 00:34 UTC] magnus@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

What bison version do you have installed ?
And if it still is crashing, please compile with --enable-debug and give us a backtrace.
 [2003-03-23 20:52 UTC] comus1 at korea dot com
using CVS stable version(php)
it still is crashing

bison version is bison-1.28
flex version is flex-2.5.4
perl version is 5.6.1
gcc version is 3.0.1

complie with --enable-debug 
please help me



==================================================
Installing PHP CLI binary:        /usr/local/php/bin/
Installing PHP CLI man page:      /usr/local/php/man/man1/
Installing PHP SAPI module
/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
chmod +x /usr/local/apache2/modules/libphp4.so
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /data1/Working/php4-STABLE-200303240030/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
[activating module `php4' in /usr/local/apache2/conf/httpd.conf]
Installing shared extensions:     /usr/local/php/lib/php/extensions/debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/php/lib/php/
Segmentation Fault - core dumped
make[1]: *** [install-pear-installer] Error 139
make: *** [install-pear] Error 2
 [2003-03-23 21:38 UTC] comus1 at korea dot com
complie with --enable-debug option

[dump trace log]

Dump file /data1/Working/php4-STABLE-200303240030/kg_?_11996.trc
KG Platform
ORACLE_HOME = /home/oracle1
System name:  SunOS
Node name:  datanet
Release:  5.7
Version:  Generic_106541-08
Machine:  sun4u

*** 2003.03.24.11.43.45.856
KGP-00600: internal error code, arguments: [kgupticon1], [], [], [], [], [], [], []
----- Call Stack Trace -----
NOTE: <PLT>+offset is used to represent that the
      function being called is offset bytes from
      the _PROCEDURE_LINKAGE_TABLE_.
calling              call     entry                argument values in hex
location             type     point                (? means dubious value)
-------------------- -------- -------------------- ----------------------------
kgupdmp()+636        CALL     <PLT>+17772          FFBEEFB0 ? FFBEEB34 ?
                                                   FEE58C04 ? FFBEE5D8 ?
                                                   FFBEE5BC ? 0 ?
 [2003-03-24 03:47 UTC] sniper@php.net
I think this is GCC problem. Please try either
GCC 3.2 series or 2.95.x since those should work better..

 [2003-03-26 17:37 UTC] comus1 at korea dot com
A settlement has been reached without friction.
My problem is gcc and sed
This problem arrive at a decision after gcc version 3.2 upgrade and sed version upgrade

thanks!!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 18:01:28 2024 UTC