Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 97833 invoked from network); 13 Jan 2005 15:15:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jan 2005 15:15:33 -0000 Received: (qmail 43333 invoked by uid 500); 13 Jan 2005 15:15:17 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 43291 invoked by uid 500); 13 Jan 2005 15:15:16 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 43247 invoked by uid 99); 13 Jan 2005 15:15:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.logilune.com (HELO mail.logilune.com) (195.80.154.36) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 13 Jan 2005 07:15:14 -0800 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id F01781E1990 for ; Thu, 13 Jan 2005 16:15:09 +0100 (CET) Message-ID: <41E6907B.70200@stason.org> Date: Thu, 13 Jan 2005 10:15:07 -0500 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: Apache-Test References: <200501130052.15366.oeriksson@mandrakesoft.com> <200501130243.11093.oeriksson@mandrakesoft.com> <41E5E562.7070302@stason.org> <200501130925.02397.oeriksson@mandrakesoft.com> In-Reply-To: <200501130925.02397.oeriksson@mandrakesoft.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Oden Eriksson wrote: [...] >>Please post the output of: >>% t/TEST -conf -trace=debug > > > Attached. So it has matched it as revision 1: > [ debug] Matched Apache revision Apache-PREFORK-AdvancedExtranetServer/2.0.52 1 Frankly I have no idea how could it possibly happen. And that's where the problem is coming from. Please try this patch: Index: lib/Apache/TestServer.pm =================================================================== --- lib/Apache/TestServer.pm (revision 124937) +++ lib/Apache/TestServer.pm (working copy) @@ -67,15 +67,9 @@ # string and various variations made by distributions which mangle # that string - # Apache/2.0.50-dev - ($self->{rev}) = $self->{version} =~ m|^Apache/(\d)\.|; + # Foo/x.y.z + ($self->{rev}) = $self->{version} =~ m|/(\d)\.|; - # Apache-AdvancedExtranetServer/1.3.29 (Mandrake Linux/1mdk) - ($self->{rev}) ||= $self->{version} =~ m|^Apache.*?/(\d)\.|; - - # IBM_HTTP_SERVER/1.3.19 Apache/1.3.20 (Unix) - ($self->{rev}) ||= $self->{version} =~ m|^.*?Apache.*?/(\d)\.|; - if ($self->{rev}) { debug "Matched Apache revision $self->{version} $self->{rev}"; } >>I think what happens is this. MP_INST_APACHE2=1 tweaks Makefile to insert >>mp2 modules into Apache2 subdir, but since you use a custom INSTALLDIRS it >>fails to do that. And then: >> >> if ($rev == 2) { >> eval { require Apache2 && require mod_perl }; >> } else { >> eval { require mod_perl }; >> } >> >>loads modperl1. >> >>but I've just tried here with the same options and it works fine. > > > I also tried to leave out MP_INST_APACHE2=1 as well as not having > mod_perl-common-1.3.31_1.29-3mdk installed. > > I just saw this: > > Warning: the following files are missing in your kit: > META.yml > > But the file is there. It's possible that Apache-Test/Makefile.PL is the one that has complained. But ignore that for now. >>>>A-T is bundled with modperl and it's the one that should be run. Not any >>>>previously installed A-T. >>> >>>The system is clean except for parts of mod_perl 1.x that seems to be a >>>requisite to get this mod_perl pick up missing pieces. Here's what's >>>installed: >> >>what do you mean requisite? you mean mp2 requires mp1? > > > Maybe it's a thing of the past, or I'm just too tired right now. At one time I > saw something like "Found mod_perl-1.x, good, will install relatively to > Apache2/". And that message was despite the MP_INST_APACHE2=1 thing. Hmm, do you think it's a misleading message? I guess we could remove it if MP_INST_APACHE2=1 is used explicitly. -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com