Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 53994 invoked from network); 7 Feb 2006 16:55:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Feb 2006 16:55:23 -0000 Received: (qmail 10801 invoked by uid 500); 7 Feb 2006 16:55:13 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 9901 invoked by uid 500); 7 Feb 2006 16:55:10 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 9890 invoked by uid 99); 7 Feb 2006 16:55:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 08:55:10 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [69.17.117.6] (HELO mail4.sea5.speakeasy.net) (69.17.117.6) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 08:55:08 -0800 Received: (qmail 11501 invoked from network); 7 Feb 2006 16:54:48 -0000 Received: from dsl093-038-250.pdx1.dsl.speakeasy.net (HELO [192.168.1.20]) (davidw@[66.93.38.250]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with RC4-SHA encrypted SMTP for ; 7 Feb 2006 16:54:48 -0000 In-Reply-To: <43E8CD0E.3050807@gmx.at> References: <43E880E9.2020604@gmx.at> <43E8CD0E.3050807@gmx.at> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <468B6941-8734-44D0-8239-2F0B257AA531@kineticode.com> Cc: mod_perl List Content-Transfer-Encoding: 7bit From: David Wheeler Subject: Re: Where is Your Apache2 Installed? Date: Tue, 7 Feb 2006 08:54:46 -0800 To: Tom Schindl X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Feb 7, 2006, at 08:38 , Tom Schindl wrote: > Your line works like a charme ;-) > > -----------------8<----------------- > [tom@vinea ~]$ /opt/myperl/bin/perl -MApache2::BuildConfig -le 'print > Apache2::BuildConfig->new->MP_APXS, $/' > /opt/myapache/bin/apxs > > [tom@vinea ~]$ > -----------------8<----------------- Odd that it doesn't work for me. But I don't see it listed in the distribution, either: http://search.cpan.org/dist/mod_perl-2.0.2/ > In my case the file is located in > /opt/myperl/lib/site_perl/5.8.6/i686-linux/ > > In think that mp2bug is also using this Apache2::BuildConfig or rather > ModPerl::Config which it self uses Apache2::BuildConfig. ModPerl::Config I got. > The only idea if have is to ask the user for the Apache- > Installation if > none is found on the system :-) e.g. using a parameter passed to perl > Makefile.PL. Yeah, I do that anyway. I just was putting together a list of common directories to search before prompting. Here's what I have (searching for 1.3 or 2.x): /usr/local/apache/bin /usr/local/apache2/bin /opt/apache/bin /opt/apache2/bin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /etc/httpd/bin /etc/apache/bin /etc/apache2/bin /home/httpd/bin /home/apache2/bin /home/apache/bin /sw/bin /sw/sbin /web/httpd Best, David