On Tue, 18 Mar 2003 16:41:17 +1100, "Stas Bekman" <[EMAIL PROTECTED]> said:
> Kermit Tensmeyer wrote:
> > 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'),
> > }
>
> That should be fixed now in cvs. Thank you for the detailed report.
>
> I've failed to catch it earlier as I was building with MP_APXS and not
> MP_AP_PREFIX.
yes there are some changes
now Makefile.PL uses the macro
MODPERL_AP_INCLUDEDIR => $build->apxs('-q' => 'INCLUDEDIR'),
and
modperl_xs_h_install:
@$(MKPATH) $(MODPERL_AP_INCLUDEDIR)
$(CP) $(MODPERL_XS_H_FILES) $(MODPERL_AP_INCLUDEDIR)
is still broken because MODPERL_AP_INCLUDIR is empty
and since $build->apxs('-q' => 'INCLUDEDIR') still returns an empty
string
but this is the -only- occurance of $build->apxs left in Makefile.PL
the same problem shows up in src/modules/perl/Makefile.modperl
as the targets MODPERL_AP_INCLUDEDIR and MODPERL_AP_LIBEXECDIR
as I see it there are two alternatives ( get $build->apxs to work
properly _or_
parse $build->{dir}/build/config_vers.mk for the variables)
is there any other use for Apache::Build::apxs ?
--
Kermit Tensmeyer
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]