Well, its a no go, even after checking out the latest SVN code,

Problem is the ‘conn_rec’ structure has changed.  It no longer has 'remote_ip'
defined in it.


[bpm]$ make
cd "src/modules/perl" && make
make[1]: Entering directory
`/home/bpm/src/apache/mod_perl-2.0/src/modules/perl' gcc
-I/home/bpm/src/apache/mod_perl-2.0/src/modules/perl
-I/home/bpm/src/apache/mod_perl-2.0/xs -I/usr/include/apr-1
-I/usr/include/httpd -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -I/usr/lib64/perl5/CORE -DMOD_PERL
-DMP_COMPAT_1X -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC \ -c
modperl_interp.c && mv modperl_interp.o modperl_interp.lo modperl_interp.c: In
function ‘modperl_interp_select’: modperl_interp.c:503:35: error: ‘conn_rec’
has no member named ‘remote_ip’ make[1]: *** [modperl_interp.lo] Error 1
make[1]: Leaving directory
`/home/bpm/src/apache/mod_perl-2.0/src/modules/perl' make: *** [modperl_lib]
Error 2


Did see the following in the httpd-2.4.1 src, httpd-2.4.1/include/ap_mmn.h
that seems to be a major API change.

* 20111130.0 (2.4.0-dev)  c->remote_ip becomes c->peer_ip and r->client_ip,
*                         c->remote_addr becomes c->peer_addr and
  r->client_addr 

I guess I'm asking is anyone has made any progress with mod_perl with the new
httpd 2.4 ??
-- 
Brian Millett
"We used to have them back home long ago. They use science to achieve the
 effect of magic. I haven't seen one in years. They almost never travel.
 They don't like to leave their places of power. To see even one of them
 is a rare thing. To see more than one at a time is considered a very
 bad omen."
[3 mages walk by]
"Three...this is definitely not good."
           -- [ Londo (re: technomages), "The Geometry of Shadows"]

Reply via email to