Re: apache 2.4.x and mod_perl 2.0

2012-03-16 Thread Kevin A. McGrail
On 3/15/2012 2:17 PM, Torsten Förtsch wrote: IMHO, we should implement a compatibility function that maps remote_ip() to client_ip and provide the new structure members independently. Torsten Förtsch I've got a production box setup now with 2.4.1 installed so I can play with mod_perl if we n

Re: apache 2.4.x and mod_perl 2.0

2012-03-15 Thread Torsten Förtsch
On Thursday, 15 March 2012 10:28:39 Brett @Google wrote: > "modperl_interp.c", line 503: undefined struct/union member: remote_ip Further, last fall struct conn_rec was changed again in these commits: $ svn log -r1206291 -r1204968 --

Re: apache 2.4.x and mod_perl 2.0

2012-03-15 Thread Torsten Förtsch
On Thursday, 15 March 2012 10:28:39 Brett @Google wrote: > "modperl_interp.c", line 503: undefined struct/union member: remote_ip > "modperl_interp.c", line 503: warning: improper pointer/integer The prefork code path is much simpler. For that reason I started with that MPM and a perl without ith

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
in Apache-Test/lib/Apache/TestRun.pm line 1100, i commented out the "use warnings FATAL => 'all';" i still get : cc -I/home/govops/build-new/mod_perl-2.0-apache24/src/modules/perl -I/home/govops/build-new/mod_perl-2.0-apache24/xs -I/usr/local/directory-libs/include/apr-1 -I/usr/local/directory-li

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
I checked it out and got : ~/build-new/mod_perl-2.0-apache24> perl Makefile.PL MP_APR_CONFIG=/usr/local/apache-libs/bin/apr-1-config MP_APXS=/usr/local/apache24/bin/apxs Reading Makefile.PL args from @ARGV MP_APR_CONFIG = /usr/local/directory-libs/bin/apr-1-config MP_APXS = /usr/local/apache

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
I don't want to re-invent the wheel, i was just poking around in the trunk.. but didn't know there was a 2.4 branch :) I could not see links to anything new on the download page, i'll check out the 2.4 branch now and report back.. Maybe you can list the branch under the "Development" links.. with

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Torsten Förtsch
On Wednesday, 14 March 2012 19:35:40 Brett @Google wrote: > Apache 2.4.x seems to have changed... You are very welcome to work on the httpd 2.4 port. But please check out http://svn.apache.org/repos/asf/perl/modperl/branches/httpd24 as a starting point. It probably compiles and passes most tes

apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
Hi All, Apache 2.4.x seems to have changed / deprecated things.. things i have noticed : in ./src/modules/perl/modperl_constants.c if OPT_INCNOEXEC is not present, as OPT_INCNOEXEC is now OPT_INCLUDES c->remote_ip gone, and now split into c->client_ip (tcp endpoint) and c->useragent_ip (e.g. X-F