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/
it's automagically generated on a mod_perl install, since it contains specific details about the install process (such as which apxs you used) but you said you needed to find httpd even if mod_perl isn't installed, in which case mod_perl foo won't help you. Apache-Test contains some code for digging out httpd when it's not in your path - see TestConfig.pm for some stuff you might be able to steal. --Geoff