sdfgsd sergserg wrote:
Oh my mail is not the full version :) I'm sorry, I wrote it at 1 a.m. So first I wanted to say that I got an error when running this:

perl Makefile.PL MP_USE_STATIC=1 \ MP_AP_PREFIX=/house/doink123/httpd-2.0.52 \ MP_AP_CONFIGURE="--with-mpm=prefork
--prefix=/house/doink123/ap_tru64_4g"


The error is this:


checking which MPM to use... prefork
--prefix=/house/doink123/ap_tru64_4g configure: error: the selected mpm
-- prefork --prefix=/house/doink123/ap_tru64_4g -- is not supported httpd: ./configure --with-mpm=prefork
--prefix=/house/doink123/ap_tru64_4g failed at lib/Apache/Build.pm line
296.

That was a bug in the options parser. Please try with the latest svn or this patch:


Index: lib/ModPerl/BuildOptions.pm
===================================================================
--- lib/ModPerl/BuildOptions.pm (revision 111891)
+++ lib/ModPerl/BuildOptions.pm (working copy)
@@ -75,7 +75,13 @@
     my @unknown;
     my $continue = "";

+    my @data = ();
     for (@$lines) {
+        # more than one entry on the same line
+        push @data, split /(?=MP_)/, $_;
+    }
+
+    for (@data) {
         #XXX: this "parser" should be more robust
         chomp;
         s/^\s+//; s/\s+$//;

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
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