dougm 00/04/21 13:10:01 Modified: . 00README_FIRST patches perl_no_get_context.pat Log: found the real fix Revision Changes Path 1.4 +1 -1 modperl-2.0/00README_FIRST Index: 00README_FIRST =================================================================== RCS file: /home/cvs/modperl-2.0/00README_FIRST,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- 00README_FIRST 2000/04/21 19:43:33 1.3 +++ 00README_FIRST 2000/04/21 20:10:00 1.4 @@ -11,7 +11,7 @@ 5.6.0 with patches/perl_no_get_context.pat applied and Perl built like so: -% ./Configure -des -Dusethreads -Accflags=-DPERL_NO_GET_CONTEXT +% ./Configure -des -Dusethreads mod_perl-2.0 will still work with an out-of-the-box Perl, but will only be useful if your mpm is prefork (which is much like 1.3.x) 1.3 +1 -26 modperl-2.0/patches/perl_no_get_context.pat Index: perl_no_get_context.pat =================================================================== RCS file: /home/cvs/modperl-2.0/patches/perl_no_get_context.pat,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- perl_no_get_context.pat 2000/04/21 05:16:53 1.2 +++ perl_no_get_context.pat 2000/04/21 20:10:01 1.3 @@ -1,32 +1,7 @@ for interpreter pool support, apply the patch below and configure Perl 5.6.0 like so: -./Configure -des -Dusethreads -Accflags=-DPERL_NO_GET_CONTEXT +./Configure -des -Dusethreads -Date: Fri, 14 Apr 2000 16:23:51 -0700 (PDT) -From: Doug MacEachern <[EMAIL PROTECTED]> -To: Gurusamy Sarathy <[EMAIL PROTECTED]> -Cc: [EMAIL PROTECTED] -Subject: Re: -Dusethread woes -In-Reply-To: <[EMAIL PROTECTED]> -Message-ID: <[EMAIL PROTECTED]> - -wow, that was fast, thanks!! -i also had to define PERL_NO_GET_CONTEXT when building libperl.a for this -to work. which in turn required the patch below. my test program works -again, yay!! and, so does mod_perl-2.0-dev's PerlInterpreter pool, that -maps a perl_clone()'d interpreter to an Apache-2.0 thread, -concurrently calling back into each in the same process, wheeeeeeeeeee! - ---- ext/DB_File/version.c~ Sun Jan 23 05:15:45 2000 -+++ ext/DB_File/version.c Fri Apr 14 16:08:53 2000 -@@ -28,6 +28,7 @@ - void - __getBerkeleyDBInfo() - { -+ dTHX; - SV * version_sv = perl_get_sv("DB_File::db_version", GV_ADD|GV_ADDMULTI) ; - SV * ver_sv = perl_get_sv("DB_File::db_ver", GV_ADD|GV_ADDMULTI) ; - SV * compat_sv = perl_get_sv("DB_File::db_185_compat", GV_ADD|GV_ADDMULTI) ; --- thread.h~ Sat Mar 11 08:42:45 2000 +++ thread.h Thu Apr 20 17:38:17 2000 @@ -229,18 +229,6 @@