I looked thru the archives, i didn't see this from before.. so if this is repetious I apoligize.
make install fails because APACHE_INCLUDEDIR = " " which is because (....) because two macros inside the call to ModPerl::MM::WriteMakefile return empty strings. (hey I'm trying to cut to the chase as quickly as possible)
macro => {
APACHE_INCLUDEDIR => $build->apxs('-q' => 'includedir'),
} it interesting because $build->apxs(-q for all arguments)
returns an empty string. the actual apxs script from either
the apache2/support directory or the actual install directory
finds the correct information.
Makefile.Pl "sub configure" contains a three branched if statement if ($build->:MP_APXS}) elsif ( ($build->{MP_AP_Prefix}) else { for my $path ($build->find) { which only finds the preinstalled apache not the actual apache install }
but Apache::Build::apxs processes an array @trys (which contain
target directories for actual installs)
it assumes unless it is a ModPerl build Apache::TestConfig::which(apxs)
and a hardcoded path '/usr/local/apache' (which may/maynot be
the actual apache2 path)
in either case the code would not appear to send consistent information unless the APXS code (inside Apache::Build) uses the same data the apxs script in the target httpd2 installation.
--- summary: the apxs inside the build script is generating empty strings when the target httpd2 source tree is used and (MP_APXS is not defined or MP_AP_Prefix is not defined in the build script) How do I track down the cause of this problem. If i find it, I -will- submit a patch..
Kermit,
You will need to provide more information about the cause of the problem. Your analysis could be much more useful if it was placed into some context. e.g. I have no clue how did you try to invoked 'perl Makefile.PL', where your installed Apache resides, what OS you use, etc. The following guidelines should help you to figure out, what information you should supply.
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
Thanks.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
