Stas Bekman wrote:

Tom, please try with this patch:

Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 168093)
+++ Makefile.PL (working copy)
@@ -126,8 +126,9 @@
     set_modperl_version();

     if ($old_modperl_version) {
-        $old_modperl_version =~ s/(\d\d\d?)(\d\d)/$1_$2/;
-        my $vstring = "mod_perl/$old_modperl_version";
+        (my $old_modperl_version_str = $old_modperl_version)
+            =~ s/(\d\d\d?)(\d\d)/$1_$2/;
+        my $vstring = "mod_perl/$old_modperl_version_str";
         print "$vstring installation detected...";

         my $prefix;



Ok, with this patch applied, I now get this:

[EMAIL PROTECTED] mod_perl-2.0.0-RC6]$ perl Makefile.PL MP_APXS=/usr/local/apache-2.0.54/bin/apxs
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/local/apache-2.0.54/bin/apxs
mod_perl/1.999_021 installation detected... not ok


Cannot install mod_perl/1.999.23 on top of mod_perl/1.999_021
due to a major API change between mod_perl 1.999_21 and 1.999_22.

Problematic
files: /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/Apache2.pm
dirs: /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/mod_perl.pm

Please nuke the prior mod_perl installation from your site_lib,
use a different perl to run the installation process, or use the
PREFIX option when creating your Makefile.  see

  http://perl.apache.org/docs/2.0/rename.html

for more details.

aborting...
[EMAIL PROTECTED] mod_perl-2.0.0-RC6]$

Looks like that worked!  Thanks!

Peace...

Tom



Reply via email to