Re: trying to compile mod_perl against httpd-2.4.1

Fred Moyer <[email protected]>
Newsgroups gmane.comp.java.ofbiz.devel,gmane.comp.apache.mod-perl
Message-ID <CAHrynWAge5UTLqAEsGxG6+NdYdtBuu0ZrJFcpCnAGYD_Bsd1Xw__20981.035664636$1329854166$gmane$org@mail.gmail.com>
Thanks for the spot. We're rolling rc3 for 2.0.6 right now, I have
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 <[email protected]> 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[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"]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.