Re: cc: Error: modperl_exports.c under Tru64 Unix

[prev] [thread] [next] [Date index for 2004/12/15]

From: Stas Bekman
Subject: Re: cc: Error: modperl_exports.c under Tru64 Unix
Date: 01:22 on 15 Dec 2004
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:stas@xxxxxx.xxx 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

(message missing)

cc: Error: modperl_exports.c under Tru64 Unix
sdfgsd sergserg 17:16 on 13 Dec 2004

Re: cc: Error: modperl_exports.c under Tru64 Unix
Philippe M. Chiasson 21:51 on 14 Dec 2004

Re: cc: Error: modperl_exports.c under Tru64 Unix
Philippe M. Chiasson 00:35 on 15 Dec 2004

Re: cc: Error: modperl_exports.c under Tru64 Unix
Philippe M. Chiasson 01:33 on 15 Dec 2004

Re: cc: Error: modperl_exports.c under Tru64 Unix
sdfgsd sergserg 07:56 on 14 Dec 2004

Re: cc: Error: modperl_exports.c under Tru64 Unix
Stas Bekman 01:22 on 15 Dec 2004

Re: cc: Error: modperl_exports.c under Tru64 Unix
sdfgsd sergserg 14:34 on 15 Dec 2004

Generated at 11:27 on 21 Dec 2004 by mariachi v0.52