|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-02-08 17:04 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 08:00:01 2025 UTC |
gdb /home/wins/builds/src/other/php4-STABLE-200502211130/sapi/cli/php ./core GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.9"... 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. Reading symbols from /home/informix2000/lib/esql/libifsql.so...done. Loaded symbols for /home/informix2000/lib/esql/libifsql.so Reading symbols from /home/informix2000/lib/libifasf.so...done. Loaded symbols for /home/informix2000/lib/libifasf.so Reading symbols from /home/informix2000/lib/esql/libifgen.so...done. Loaded symbols for /home/informix2000/lib/esql/libifgen.so Reading symbols from /home/informix2000/lib/esql/libifos.so...done. Loaded symbols for /home/informix2000/lib/esql/libifos.so Reading symbols from /home/informix2000/lib/esql/libifgls.so...done. Loaded symbols for /home/informix2000/lib/esql/libifgls.so Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /usr/lib/libnsl.so.1 Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /usr/lib/libsocket.so.1 Reading symbols from /usr/lib/libaio.so.1...done. Loaded symbols for /usr/lib/libaio.so.1 Reading symbols from /usr/lib/libdl.so.1...done. Loaded symbols for /usr/lib/libdl.so.1 Reading symbols from /usr/lib/libelf.so.1...done. Loaded symbols for /usr/lib/libelf.so.1 Reading symbols from /home/informix2000/lib/esql/libifglx.so...done. Loaded symbols for /home/informix2000/lib/esql/libifglx.so Reading symbols from /usr/local/lib/libldap.so.2...done. Loaded symbols for /usr/local/lib/libldap.so.2 Reading symbols from /usr/local/lib/liblber.so.2...done. Loaded symbols for /usr/local/lib/liblber.so.2 Reading symbols from /usr/lib/libresolv.so.2...done. Loaded symbols for /usr/lib/libresolv.so.2 Reading symbols from /usr/lib/libm.so.1...done. Loaded symbols for /usr/lib/libm.so.1 Reading symbols from /usr/lib/libc.so.1...done. Loaded symbols for /usr/lib/libc.so.1 Reading symbols from /usr/local/lib/libgcc_s.so.1...done. Loaded symbols for /usr/local/lib/libgcc_s.so.1 Reading symbols from /usr/lib/libmp.so.2...done. Loaded symbols for /usr/lib/libmp.so.2 Reading symbols from /usr/lib/libgen.so.1...done. Loaded symbols for /usr/lib/libgen.so.1 Reading symbols from /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1 #0 0xff026a00 in __register_frame_info_bases (begin=0xfeee0000, ob=0xfeee0000, tbase=0x0, dbase=0x0) at /home/wins/builds/src/gnu/gcc-3.4.2/gcc/unwind-dw2-fde.c:89 89 ob->s.b.encoding = DW_EH_PE_omit; (gdb)Looks like same kind of crash has been experienced before, here's one example: http://mail.python.org/pipermail/python-dev/2002-August/027952.html This is not PHP bug but GCC / binutils bug.I installed the latest binutils (2.15) and the latest gcc (3.4.3) -- still exactly the same crash at PEAR # gdb /home/wins/builds/src/other/php4-STABLE-200502211130/sapi/cli/php ./core also gives the same traceback, ending with: ... Reading symbols from /usr/lib/libgen.so.1...done. Loaded symbols for /usr/lib/libgen.so.1 Reading symbols from /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1 #0 0xff0269d8 in __register_frame_info_bases (begin=0xfeee0000, ob=0xfeee0000, tbase=0x0, dbase=0x0) at /home/wins/builds/src/gnu/gcc-3.4.3/gcc/unwind-dw2-fde.c:89 89 ob->s.b.encoding = DW_EH_PE_omit; (gdb)