fred at redhotpenguin
Feb 21, 2012, 11:55 AM
Post #1 of 1
Thanks for the spot. We're rolling rc3 for 2.0.6 right now, I have
Re: trying to compile mod_perl against httpd-2.4.1
cc'd the dev list about this issue. I may have some tuits to look at
this, but am guessing someone else will fix it more quickly.
On Tue, Feb 21, 2012 at 11:49 AM, Brian Millett <bmillett [at] gmail> wrote:
> 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: Entering directory
> `/home/bpm/src/apache/mod_perl-2.0/src/modules/perl' gcc
> -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: *** [modperl_interp.lo] Error 1
> make: 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
> 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"]
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl