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

2012-05-01 Thread Bernard Higonnet
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


Trouble installing mod_perl-2.0.7 with Perl v5.14.2 and Apache Apache/2.4.3 under FreeBSD 9.1

2013-02-21 Thread Bernard Higonnet
Everything seems to go OK with perl Makefile.PL but when I try make I 
get this:


modperl_interp.c: In function 'modperl_interp_select':
modperl_interp.c:503: error: 'conn_rec' has no member named 'remote_ip'
*** [modperl_interp.lo] Error code 1

I have searched this a bit and don't seem to be the only victim of this 
problem, but am not versed enough in Apache or Perl to understand what's 
going on. Several people seem to suggest or assert Apache 2.4 doesn't 
work with mod_perl...!?


TIA
Bernard Higonnet