Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 29109 invoked from network); 30 Oct 2003 14:06:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Oct 2003 14:06:06 -0000 Received: (qmail 18602 invoked by uid 500); 30 Oct 2003 14:06:03 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 18588 invoked by uid 500); 30 Oct 2003 14:06:02 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 18575 invoked from network); 30 Oct 2003 14:06:02 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 30 Oct 2003 14:06:02 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFDR5-0004FW-00 for ; Thu, 30 Oct 2003 15:06:03 +0100 Mail-Followup-To: apreq-dev@httpd.apache.org X-Injected-Via-Gmane: http://gmane.org/ To: apreq-dev@httpd.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFDR3-0004FK-00 for ; Thu, 30 Oct 2003 15:06:01 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFDR3-0004x1-00 for ; Thu, 30 Oct 2003 15:06:01 +0100 From: Joe Schaefer Subject: Re: cvs commit: httpd-apreq-2/build xsbuilder.pl Date: 30 Oct 2003 09:06:01 -0500 Lines: 26 Message-ID: References: <20031030044552.83594.qmail@minotaur.apache.org> <3FA0B411.7050402@stason.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stas Bekman writes: [...] > > -die __PACKAGE__ . ": httpd must load mod_apreq.so first" > > - if __PACKAGE__->env ne "Apache::RequestRec"; > > +if (\$ENV{MOD_PERL}) { > > + require mod_perl; > > + if (\$mod_perl::VERSION > 1.99) { > > + die __PACKAGE__ . ": httpd must load mod_apreq.so first" > > + if __PACKAGE__->env ne "Apache::RequestRec"; > > + } > > + elsif (\$mod_perl::VERSION > 1.24) { > > + die __PACKAGE__ . ": httpd must load mod_apreq1.so first" > > + if __PACKAGE__->env ne "Apache"; > > A::R 2 supports mp1? In a manner of speaking, yes. Firstly, mod_apreq1.c needs to be born, and secondly, the perl glue needs to be amended to subclass from "Apache". Until both of those things happen, our perl glue must fail to load for mp1. Of course, the error message could recommend using libapreq-1.X here, but hey, why be pessimistic about it? -- Joe Schaefer