Skip to content

Commit 0d4a2ac

Browse files
committed
found the real fix
git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@67974 13f79535-47bb-0310-9956-ffa450edef68
1 parent f11786e commit 0d4a2ac

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

00README_FIRST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if you want to try building with an interpreter pool, you'll need Perl
1111
5.6.0 with patches/perl_no_get_context.pat applied and Perl built like
1212
so:
1313

14-
% ./Configure -des -Dusethreads -Accflags=-DPERL_NO_GET_CONTEXT
14+
% ./Configure -des -Dusethreads
1515

1616
mod_perl-2.0 will still work with an out-of-the-box Perl, but will
1717
only be useful if your mpm is prefork (which is much like 1.3.x)

patches/perl_no_get_context.pat

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,7 @@
11
for interpreter pool support, apply the patch below and configure Perl
22
5.6.0 like so:
3-
./Configure -des -Dusethreads -Accflags=-DPERL_NO_GET_CONTEXT
3+
./Configure -des -Dusethreads
44

5-
Date: Fri, 14 Apr 2000 16:23:51 -0700 (PDT)
6-
From: Doug MacEachern <dougm@covalent.net>
7-
To: Gurusamy Sarathy <gsar@ActiveState.com>
8-
Cc: perl5-porters@perl.org
9-
Subject: Re: -Dusethread woes
10-
In-Reply-To: <200004142247.PAA04706@maul.ActiveState.com>
11-
Message-ID: <Pine.LNX.4.10.10004141610140.368-100000@mojo.covalent.net>
12-
13-
wow, that was fast, thanks!!
14-
i also had to define PERL_NO_GET_CONTEXT when building libperl.a for this
15-
to work. which in turn required the patch below. my test program works
16-
again, yay!! and, so does mod_perl-2.0-dev's PerlInterpreter pool, that
17-
maps a perl_clone()'d interpreter to an Apache-2.0 thread,
18-
concurrently calling back into each in the same process, wheeeeeeeeeee!
19-
20-
--- ext/DB_File/version.c~ Sun Jan 23 05:15:45 2000
21-
+++ ext/DB_File/version.c Fri Apr 14 16:08:53 2000
22-
@@ -28,6 +28,7 @@
23-
void
24-
__getBerkeleyDBInfo()
25-
{
26-
+ dTHX;
27-
SV * version_sv = perl_get_sv("DB_File::db_version", GV_ADD|GV_ADDMULTI) ;
28-
SV * ver_sv = perl_get_sv("DB_File::db_ver", GV_ADD|GV_ADDMULTI) ;
29-
SV * compat_sv = perl_get_sv("DB_File::db_185_compat", GV_ADD|GV_ADDMULTI) ;
305
--- thread.h~ Sat Mar 11 08:42:45 2000
316
+++ thread.h Thu Apr 20 17:38:17 2000
327
@@ -229,18 +229,6 @@

0 commit comments

Comments
 (0)