On Tuesday 12 August 2003 12:23 pm, Geoffrey Young wrote:
> Kermit Tensmeyer wrote:
> > How does apxs (either standalone or Apache::Build::apxs) figure out
> > MPM_NAME?
>
> /usr/local/apache2/bin/apxs -q MPM_NAME
yep, that works as expected
> > ----- symptoms -----
> > perl Makefile.PL
> > Reading Makefile.PL args from /home/kermit/.makepl_args.mod_perl2
> > MP_AP_PREFIX = /usr/local/apache2
> > MP_DEBUG = 1
> > MP_INST_APACHE2 = 1
> > Configuring Apache/2.1.0-dev mod_perl/1.99_10-dev Perl/v5.8.0
> > Failed to obtain the MPM name at lib/Apache/Build.pm line 169.
>
> I bet it's using the wrong apxs. do you have something in
> /usr/local/apache?
/usr/local/apache doesn't exist (and build::apxs won't use that branch of
the code, unless (IS_MOD_PERL_BUILD)
<digression>
does $Apache::Build::APXS map to Apache::Build::apxs?
I would have thought that the Apache::TestConfig::which('apxs') would work
once the frozen config file had been written
</digression>
>
> Apache::Build::apxs() seems pretty suboptimal to me. I've taken a few
> looks at it, trying to figure out how to make it better, but I haven't come
> across the perfect solution yet. when I use MP_APXS in my build arguments,
> it generally picks the proper apxs, though.
just to make sure that extra cruft isn't messing me up, I moved my directory
to a new name, copied from CVS a fresh copy. I'll build and see if I
duplicate the problem with a 'virgin clean' source directory copy.
if it still fails, I add your suggestion to the config options file. Don't
know why it starts to break now..
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]