On Feb 7, 2006, at 09:08 , Tom Schindl wrote:
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<-----------------
But that's not Apache2::BuildConfig, it's Apache2::Build.
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<-----------------
I found it, I have it, it's just that perldoc couldn't find it
because it has no POD in it. But perldoc -m found it. Looking at the
code, I figured out what I needed; this works:
perl -MApache2::BuildConfig -wle 'print Apache2::BuildConfig->new->
{APXS_BINDIR}, $/
Best,
David