Installing pear from php 5.2.5 on Solaris 9 results in a core dump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello list!

I have problem installing pear from php-5.2.5 on a Solaris 9
system.

First the system data:

    % uname -a
    SunOS oden 5.9 Generic_112233-08 sun4u sparc SUNW,UltraAX-i2

    % gcc -v
    Target: sparc-sun-solaris2.9
    Thread model: posix
    gcc version 4.2.2

Most libraries are up to date. MySQL too.

    configure --without-pear (some other options )

givs a working package - without pear. With pear, with or
without any pear options sapi/cli/php gives a core dump when
trying to install pear.

    % make install
    ...
    Installing man pages:             /home/hk/sunpkg/php/installed-5.2.5-SunOS-5.9-sparc/man/man1/
      page: phpize.1
      page: php-config.1
    Installing PEAR environment:      /home/hk/sunpkg/php/installed-5.2.5-SunOS-5.9-sparc/lib/php/
    make[4]: Entering directory `/opt/local/src/php-5.2.5'
    Segmentation Fault - core dumped
    make[4]: *** [install-pear-installer] Error 139

Gdb might give som help:

    % gdb /opt/local/src/php-5.2.5/sapi/cli/php core
    ...
    Core was generated by `/opt/local/src/php-5.2.5/sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode='.
    Program terminated with signal 11, Segmentation fault.
#0  0x00287634 in _zval_ptr_dtor (zval_ptr=0xffbfe1f4)
	at /opt/local/src/php-5.2.5/Zend/zend_execute_API.c:412
    412             (*zval_ptr)->refcount--;
    (gdb)
    (gdb) bt
#0  0x00287634 in _zval_ptr_dtor (zval_ptr=0xffbfe1f4)
	at /opt/local/src/php-5.2.5/Zend/zend_execute_API.c:412
#1  0x002c54c4 in zend_do_fcall_common_helper_SPEC (execute_data=0xffbfef48)
	at /opt/local/src/php-5.2.5/Zend/zend_execute.h:155
#2  0x002b5afc in execute (op_array=0x449518)
	at /opt/local/src/php-5.2.5/Zend/zend_vm_execute.h:92
#3  0x00295b54 in zend_execute_scripts (type=8, retval=<value optimized out>,
	file_count=3) at /opt/local/src/php-5.2.5/Zend/zend.c:1134
#4  0x002509e0 in php_execute_script (primary_file=0xffbff6cc)
	at /opt/local/src/php-5.2.5/main/main.c:2004
#5  0x0031fa0c in main (argc=13, argv=0xffbff7ac)
	at /opt/local/src/php-5.2.5/sapi/cli/php_cli.c:1140
    (gdb)


Can anyone help with this problem? Thanks in advance!

Regards:				Håkan

Attachment: pgpjHoIKUANFM.pgp
Description: PGP signature


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux