ID: 31886 User updated by: pieter dot donche at ua dot ac dot be Reported By: pieter dot donche at ua dot ac dot be -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Solaris 2.9 PHP Version: 4CVS-2005-02-17 New Comment:
Hi, sorry for the late response - I hadn't received an e-mail message when you posted your comment. # pwd /home/wins/builds/src/other/php4-STABLE-200502211130 # ulimit -c unlimited # ./configure ... (as above, with added --enable-debug # make (OK) # make install (the crash this bug report is all about, makes a core file, 745232 bytes) # gdb /home/apache_1327/bin/httpd ./core GNU gdb 6.1 ... This GDB was configured as "sparc-sun-solaris2.9"...(no debugging symbols found)... warning: core file may not match specified executable file. Core was generated by '/home/wins/builds/src/other/php4-STABLE-200502211130/sapi/cli/php -n dshort_op'. Program terminated with signal 11, Segmentation fault. #0 0xff026a00 in ?? () (gdb) Pieter Previous Comments: ------------------------------------------------------------------------ [2005-02-21 20:02:38] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2005-02-17 15:43:12] pieter dot donche at ua dot ac dot be Downlaod and installed GNU sed (/usr/local/bin). Retried. Same errors. Went so far as to rename Solaris' /usr/bin/sed, /usr/ucb/sed and /usr/xpg4/bin/sed to different names so that they never are used. Retried. Still exactly same errors ... ------------------------------------------------------------------------ [2005-02-17 13:48:38] [EMAIL PROTECTED] Due to a bug in the installed sed on your system the build fails. Install GNU sed and it should be okay. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2005-02-08 17:04:02] pieter dot donche at ua dot ac dot be Description: ------------ Hi, I have SUN/Solaris 2.9, gcc 3.4.2, flex version 2.5.4, bison (GNU Bison) 1.75 and am trying to install PHP-4.3.10 # ./configure --with-apache=/home/wins/builds/src/other/apache_1.3.33 --with-gd --with-jpeg-dir=/usr/local --with-pngdir=/usr/local --with-zlib-dir=/usr/local --with-informix=/home/informix2000 --with-ldap=/usr/local --enable-yp no problems # make no problems # make install Installing PHP SAPI module: apache Installing PHP CLI binary: /usr/local/bin Installing PHP CLI man page: /usr/local/man/man1/ Installing PEAR environment: /usr/local/lib/php/ Segmentation fault - core dumped >From a previous install of PHP-4.3.3 I remember there was a problem with standard sed (/bin/sed) and was advised to use the sed in /usr/xpg4/bin; So, I did # PATH=/usr/xpg4/bin; export PATH and did ./configure, make and make install again. Now make install gives: ... Installing PEAR environment: /usr/local/lib/php/ **** Error code 139 The follozing command caused the error: /home/wins/builds/src/other/php-4.3.10/sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 /home/wins/builds/src/other/php-4.3.10/pear/install-pear.php -d "/usr/local/lib/php" -b "/usr/local/bin" /home/wins/builds/src/other/php-4.3.10/pear/package-*.xml make: Fatal error: Command failed for target `install-pear-installer´ How to solve this ? Thanks in advance for any hints and help, Pieter ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31886&edit=1