David Wheeler wrote:
> On Feb 7, 2006, at 08:38 , Tom Schindl wrote:
> 
>> Your line works like a charme ;-)
>>
>> -----------------8<-----------------
>> [EMAIL PROTECTED] ~]$ /opt/myperl/bin/perl -MApache2::BuildConfig -le 'print
>> Apache2::BuildConfig->new->MP_APXS, $/'
>> /opt/myapache/bin/apxs
>>
>> [EMAIL PROTECTED] ~]$
>> -----------------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.

and is it working and how? The first line reads in my case reads like this:

-----------------8<-----------------
package ModPerl::Config;

use strict;

use Apache2::Build ();
[...]
-----------------8<-----------------

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

It doesn't make sense in the distro because it only holds installation
specific things not known by the distro. That's why it should be created
dynamically when you're running perl Makefile.PL ;-)

-----------------8<-----------------
[EMAIL PROTECTED] mod_perl-2.0.2]$ find . -iname BuildConfig*
[EMAIL PROTECTED] mod_perl-2.0.2]$ /opt/myperl/bin/perl Makefile.PL
MP_APXS=/opt/myapache/bin/apxs
[EMAIL PROTECTED] mod_perl-2.0.2]$ find . -iname BuildConfig*
./lib/Apache2/BuildConfig.pm
-----------------8<-----------------

Tom

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to