perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject RE: 2.0 Test
Date Tue, 10 Apr 2001 22:51:55 GMT
On Tue, 10 Apr 2001, Geoffrey Young wrote:
 
> after that, I still couldn't get (most of) the tests to work, though.  That
> is, until I added MP_DEBUG to the mix (just like Dave)

i found the problem.  it didn't show up for me because i still had this in
my .makepl_args.mod_perl2:
MP_USE_GTOP=1

without that (and other things that would modify CCFLAGS),
ModPerl::MM::WriteMakefile() will end up spitting out largefiles flags,
and we get the same ol 1.xx size mismatch problem.  patch below will make
sure CCFLAGS is always overridden, stripping out the lfs flags..

--- lib/Apache/Build.pm~        Tue Apr  3 21:48:55 2001
+++ lib/Apache/Build.pm Tue Apr 10 15:41:38 2001
@@ -110,7 +110,7 @@
 
 sub ap_ccopts {
     my($self) = @_;
-    my $ccopts = "";
+    my $ccopts = "-DMOD_PERL";
 
     if ($self->{MP_USE_GTOP}) {
         $ccopts .= " -DMP_USE_GTOP";



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message