|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-01 15:29 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 03:00:02 2025 UTC |
I had to patch php-3 a little to get it compiled with Solid 3.0. This are the patches: =================================================================== RCS file: /repository/php3/aclocal.m4,v retrieving revision 1.49 diff -u -r1.49 aclocal.m4 --- aclocal.m4 2000/01/01 02:30:52 1.49 +++ aclocal.m4 2000/02/14 08:52:56 @@ -156,6 +156,9 @@ SOLID_LIBS=`echo $1/scl2x${ac_solid_os}*.a | cut -d' ' -f1` fi if test ! -f $SOLID_LIBS; then + SOLID_LIBS=`echo $1/scll2x*.so | cut -d' ' -f1` + fi + if test ! -f $SOLID_LIBS; then SOLID_LIBS=`echo $1/bcl${ac_solid_os}*.so | cut -d' ' -f1` fi if test ! -f $SOLID_LIBS; then Index: functions/php3_unified_odbc.h =================================================================== RCS file: /repository/php3/functions/php3_unified_odbc.h,v retrieving revision 1.56 diff -u -r1.56 php3_unified_odbc.h --- functions/php3_unified_odbc.h 2000/01/01 04:44:10 1.56 +++ functions/php3_unified_odbc.h 2000/02/14 08:52:56 @@ -58,8 +58,7 @@ /* checking in the same order as in configure.in */ # if HAVE_SOLID -# include <cli0core.h> -# include <cli0ext1.h> +# include <cli0cli.h> # define HAVE_SQL_EXTENDED_FETCH 0 extern void php3_solid_fetch_prev(INTERNAL_FUNCTION_PARAMETERS); # if defined(UODBC_UNIQUE_NAMES) Configured with: ./configure \ --with-prefix=/usr \ --sysconfdir=/etc/php \ --localstatedir=/var \ --enable-versioning \ --with-apxs=/home/httpsd/sbin/apxs \ --with-system-regex \ --with-ftp \ --with-gd \ --with-ttf \ --with-db2 \ --with-xml \ --with-zlib \ --with-dbase \ --with-config-file-path=/etc/php \ --with-exec-dir=/home/httpsd/php \ --disable-debug \ --enable-bcmath \ --enable-force-cgi-redirect \ --with-solid=/opt/solid \ --enable-debug \ --enable-sysvsem \ --enable-sysvshm Apache version: apache-ssl-1.3.9_1.37-1 Program terminates with a SIGSEGV but this DOES NOT make it into the Apache logs. gdb backtrace of a httpsd -X: (gdb) bt #0 0x4044ea00 in ?? () #1 0x805d348 in make_sock () #2 0x805d736 in setup_listeners () #3 0x805e56a in standalone_main () #4 0x805ed7b in main () (gdb) When the --with-solid.. line is removed from the configure line apache with php3 runs whithout problems. I hope I've given enough information. Please contact me if there is anything missing. I didn't include a php.ini because it doesn't seem to get that far. Eric Veldhuyzen (eric@terra.nu)