You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Bernard Higonnet <bt...@higonnet.net> on 2012/05/01 21:31:42 UTC

Can't build mod_perl-2.0.5 for Apache -2.4.2 under FreeBSD 9.0

I have built Apache -2.4.2 "It works!" and am trying to add 
mod_perl-2.0.5 but I get this

perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
Reading Makefile.PL args from @ARGV
    MP_APXS = /usr/local/apache2/bin/apxs
no conflicting prior mod_perl version found - good.
Configuring Apache/2.4.2 mod_perl/2.0.5 Perl/v5.12.4
[  error] '/usr/local/apache2/bin/apxs -q MPM_NAME' failed:
[  error] apxs:Error: Invalid query string `MPM_NAME'.
[  error] Failed to obtain the MPM name.



I reinstalled Apache adding --with-mpm=prefork just in case but got same 
result?

TIA
Bernard Higonnet

Re: Can't build mod_perl-2.0.5 for Apache -2.4.2 under FreeBSD 9.0

Posted by Fred Moyer <fr...@redhotpenguin.com>.
On Tue, May 1, 2012 at 12:31 PM, Bernard Higonnet <bt...@higonnet.net> wrote:
> I have built Apache -2.4.2 "It works!" and am trying to add mod_perl-2.0.5

You might want to try 2.0.6 which was released last week.

http://perl.apache.org/download/index.html

I don't think it builds with 2.4 yet though.

> but I get this
>
> perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
> Reading Makefile.PL args from @ARGV
>   MP_APXS = /usr/local/apache2/bin/apxs
> no conflicting prior mod_perl version found - good.
> Configuring Apache/2.4.2 mod_perl/2.0.5 Perl/v5.12.4
> [  error] '/usr/local/apache2/bin/apxs -q MPM_NAME' failed:
> [  error] apxs:Error: Invalid query string `MPM_NAME'.
> [  error] Failed to obtain the MPM name.
>
>
>
> I reinstalled Apache adding --with-mpm=prefork just in case but got same
> result?
>
> TIA
> Bernard Higonnet