You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Jeffrey W. Baker" <jw...@acm.org> on 2000/04/25 17:44:39 UTC

-DPERL_NO_GET_CONTEXT horks everything

Building Perl 5.6 with -DPERL_NO_GET_CONTEXT breaks just about every
program that uses the Perl C API.  DBI, Storable mod_include, and mod_perl
1.23 are all unable to compile with this build flag.  Bummer.

I skimmed perldelta and perlguts to see what was what.  It was pretty easy
to fix Storable by adding dTHX wherever the compiler complained about
my_perl being undefined.  But the way I read perlguts, couldn't we build
perl without -DPERL_NO_GET_CONTEXT and just #define it in the mod_perl 2.0
sources?  That way, we could have an efficient mod_perl, but not have to
hack on every module in CPAN.

I think.

-jwb


Re: -DPERL_NO_GET_CONTEXT horks everything

Posted by "Jeffrey W. Baker" <jw...@acm.org>.
On Tue, 25 Apr 2000, Doug MacEachern wrote:
> "cvs up early, cvs up often"

word


Re: -DPERL_NO_GET_CONTEXT horks everything

Posted by Doug MacEachern <do...@covalent.net>.
i hate to see you suffer this pain, when the proper fix was posted to p5p
on friday (see patches/no_get_context.pat) and modperl-2.0/00README_FIRST
no longer suggests building Perl with -DPERL_NO_GET_CONTEXT
"cvs up early, cvs up often"