|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-12-21 12:20 UTC] necat at digicol dot de
Description:
------------
Hi,
checking whether to enable pcntl support... yes
checking for fork... no
configure: error: pcntl: fork() not supported by this platform
and then configure exists.
I edit the suffix in configure file for hpux from sl to so and OCI8_DIR/lib to OCI8_DIR/lib32
and edit the file like too
php-4.4.1/ext/oci8/config.m4
OCI8_DIR/lib to OCI8_DIR/lib32
configure works well and no problem with compile.
Reproduce code:
---------------
run php
appdc5@obds820:/dc5/home/appdc5/Sourcen/php-4.4.1-cli/sapi/cli>./php -v
Segmentation fault (core dumped)
Actual result:
--------------
GDB Backtrace
=============
Script started on Wed Dec 21 11:50:05 2005
$ /opt/lon angtools/bin/gdb php core
HP gdb 5.2.03 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.2.03 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
warning: Load module /usr/local/lib/hpux32/libz.so has been stripped.
Debugging information is not available.
warning: Load module /usr/local/lib/hpux32/libgdbm.so has been stripped.
Debugging information is not available.
warning: Load module /usr/local/lib/hpux32/libxml2.so has been stripped.
Debugging information is not available.
warning: Load module /usr/local/lib/hpux32/libpthread.so has been stripped.
Debugging information is not available.
warning: Load module /usr/local/lib/hpux32/libiconv.so has been stripped.
Debugging information is not available.
warning: Load module /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 has been stripped.
Debugging information is not available.
warning: Load module /dc5/home/appdc5/oracle/ORAHOME/lib32/libnnz10.so has been stripped.
Debugging information is not available.
warning: Some of the libraries in the core file are different from the libraries on this computer. It might be possible to proceed
with your debugging process successfully. However, if you run into problems you must use the versions of the libraries used by the
core. The mismatches are:
./php in the core file is different from
./php used by gdb
#0 0x60000000c1f25910:1 in pth_mutex_acquire+0x61 ()
from /usr/local/lib/hpux32/libpthread.so
(gdb) bt
#0 0x60000000c1f25910:1 in pth_mutex_acquire+0x61 ()
from /usr/local/lib/hpux32/libpthread.so
#1 0x60000000c1f14a60:0 in pthread_mutex_lock+0xf0 ()
from /usr/local/lib/hpux32/libpthread.so
#2 0x60000000c7121cc0:0 in sltsima+0x40 ()
from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1
#3 0x60000000c6abb9a0:0 in kpummpin+0x60 ()
from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1
#4 0x60000000c5a64620:0 in kpupin+0xa0 ()
from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1
#5 0x60000000c5b9d4e0:0 in OCIInitialize+0x40 ()
from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1
#6 0x4260f10:0 in zm_startup_oci (type=1, module_number=9)
at /dc5/home/appdc5/Sourcen/php-4.4.1/ext/oci8/oci8.c:489
#7 0x44742f0:0 in zend_startup_module (module=0x40026ed0)
at /dc5/home/appdc5/Sourcen/php-4.4.1/Zend/zend_API.c:1006
#8 0x43f75b0:0 in php_startup_extensions (ptr=0x4002ab10)
at /dc5/home/appdc5/Sourcen/php-4.4.1/main/main.c:1041
#9 0x44c0ba0:0 in php_startup_internal_extensions ()
at main/internal_functions_cli.c:77
#10 0x43f8020:0 in php_module_startup ()
at /dc5/home/appdc5/Sourcen/php-4.4.1/main/main.c:1216
#11 0x44be680:0 in main ()
at /dc5/home/appdc5/Sourcen/php-4.4.1/sapi/cli/php_cli.c:582
(gdb) quit
$ exit
script done on Wed Dec 21 11:54:18 2005
Thanks and Regards,
Necat Kutlar
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
hmmmmm, appdc5@obds820:/dc5/home/appdc5/Sourcen/php-4.4.1>./cvsclean appdc5@obds820:/dc5/home/appdc5/Sourcen/php-4.4.1>./buildconf --force Forcing buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: Your version of autoconf likely contains buggy cache code. Running cvsclean for you. To avoid this, install autoconf-2.13 and automake-1.5. Make: Must be a separator on rules line 36. Stop. *** Error exit code 1 Stop. automake is installed successfully /usr/local/bin/automake --version automake (GNU automake) 1.5 but make of autoconf-2.13 gives error! Regards, Necat Kutlar