Tom Schindl wrote:
> It's not really a problem only the error-message is missleading. Take
> the following scenario:
> 
> * mp-1.29 installed
> * mp-1.99_21 installed
> 
> Run perl Makefile.PL and you'll get a completely missleading error-message:

right - the reason is sound (bad mp2 found) but the error message is
incorrect (bad mp1 found).

I'll apply this patch from a later message:

Index: Makefile.PL
===================================================================
--- Makefile.PL (Revision 161424)
+++ Makefile.PL (Arbeitskopie)
@@ -13,8 +13,8 @@

 BEGIN {
     eval {
+        my $old_mp2 = eval { require Apache2 };
         require mod_perl;
-        my $old_mp2 = eval { require Apache2 };
         if ($mod_perl::VERSION < 1.999_22 && $old_mp2) {
             $old_modperl_version = $mod_perl::VERSION;
             $old_modperl_pm = delete $INC{'mod_perl.pm'};

thanks for the report.

--Geoff

Reply via email to