I was trying to build mp2 statically using httpd-2.0.50 and I got the
following error message.

$ perl Makefile.PL PREFIX=/home/pratik/src/mp2 MP_AP_BUILD=1
MP_AP_PREFIX=/home/pratik/src/mp2/httpd-2.0.50
Reading Makefile.PL args from @ARGV
  MP_AP_BUILD = 1
  MP_AP_PREFIX = /home/pratik/src/mp2/httpd-2.0.50
mod_perl/1.29 installation detected...ok (will install mod_perl 2 into
PREFIX=/home/pratik/src/mp2, no collision)
[  error] Apache/2.0.50 not supported, 2.0.47 or higher is required

It's a small bug in Makefile.PL and here is the Patch for it.

--- Makefile.PL.old     2004-09-06 04:15:37.205403224 +0530
+++ Makefile.PL 2004-09-06 04:15:55.971550336 +0530
@@ -240,7 +240,7 @@

    if ($httpd_version lt $min_version) {
        error "Apache/$httpd_version not supported, " .
-              "$min_httpd_version or higher is required";
+              "$min_version or higher is required";
        exit(1);
    }

Regards,
Pratik

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to