You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Jan Kaluža <jk...@redhat.com> on 2012/07/25 11:03:19 UTC

Re: mod_perl and httpd-2.4 - update

Hi,

I've been working on mod_perl and httpd-2.4 compatibility again. Current 
status is that I'm able to compile mod_perl with httpd-2.4 on Fedora 17 
(I haven't tested it on different systems) and "make test" more or less 
works.

Since the last update it's huge step forward, because "make test" failed 
just in the beginning previously and mod_perl with httpd-2.4 was quite 
useless (just hello world examples worked).

With my latest patches [1] mod_perl looks usable to me and there are 
only few tests which fails. Many of those tests have to be rewritten, 
because the features they are testing have changed in httpd-2.4.

"Failed 19/242 test programs. 16/2701 subtests failed."

There are some controversial patches with hardcoded things which should 
be fixed too, but I'm not the right person to come with right solution 
so far.

1. 0020-Link-APR.so-against-libaprutil-1.patch
APR.so needs apr_bucket* functions which comes from aprutil, but it is 
not linked against aprutil for me. I've hardcoded -laprutil-1 in the 
Makefile.pl because I'm not sure how Build.pm is supposed to work.

2. 0023-Define-perl_module-in-Const.xs.patch
Thanks to modperl header files Const.so needs extern perl_module symbol 
but this symbol is not defined in Const.xs. I've defined it there, but 
this definitely need some clean solution.

[1] http://jkaluza.fedorapeople.org/mod_perl/

Regards,
Jan Kaluza

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mod_perl and httpd-2.4 - update

Posted by Jan Kaluža <jk...@redhat.com>.
On 08/20/2012 11:26 PM, Kevin A. McGrail wrote:
> On 8/20/2012 5:03 PM, Kevin A. McGrail wrote:
>> On 7/25/2012 5:03 AM, Jan Kaluža wrote:
>>> With my latest patches [1] mod_perl looks usable to me and there are
>>> only few tests which fails. Many of those tests have to be rewritten,
>>> because the features they are testing have changed in httpd-2.4.
>>
>> Jan,
>>
>> I'm trying to work on testing the patches and extrapolate on your
>> work. However, I'm having problems cleanly patching.
>>
>> If I use http://jkaluza.fedorapeople.org/mod_perl/all.tgz, what
>> version of mod_perl should I be patching against?
> Following up my own question, it looks like maybe you have some old
> patches accidentally included?

Yes :(, you are right. I've just copied all *.patch files from my 
working directory and there were some old ones. Anyway, it's fixed now. 
All patches are against mod_perl 2.0.7

> These are all dated june 6th and conflict with #'s from june 25th:
>
> 0010-Remove-OPT_INCNOEXEC.patch
> 0011-Fixed-logleve.patch
> 0012-Use-module-name-in-ap_add_loaded_module.patch
> 0013-unixd_config-renamed-to-ap_unixd_config.patch
> 0014-remote_ip-renamed-to-client_ip.patch
> 0015-remove-apu_error.h-include.patch
>
> I think you might have two sets of patches intermingled.
>
> Regards,
> KAM

Regards,
Jan Kaluza


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mod_perl and httpd-2.4 - update

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 8/20/2012 5:03 PM, Kevin A. McGrail wrote:
> On 7/25/2012 5:03 AM, Jan Kaluža wrote:
>> With my latest patches [1] mod_perl looks usable to me and there are 
>> only few tests which fails. Many of those tests have to be rewritten, 
>> because the features they are testing have changed in httpd-2.4.
>
> Jan,
>
> I'm trying to work on testing the patches and extrapolate on your 
> work. However, I'm having problems cleanly patching.
>
> If I use http://jkaluza.fedorapeople.org/mod_perl/all.tgz, what 
> version of mod_perl should I be patching against? 
Following up my own question, it looks like maybe you have some old 
patches accidentally included?

These are all dated june 6th and conflict with #'s from june 25th:

0010-Remove-OPT_INCNOEXEC.patch
0011-Fixed-logleve.patch
0012-Use-module-name-in-ap_add_loaded_module.patch
0013-unixd_config-renamed-to-ap_unixd_config.patch
0014-remote_ip-renamed-to-client_ip.patch
0015-remove-apu_error.h-include.patch

I think you might have two sets of patches intermingled.

Regards,
KAM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mod_perl and httpd-2.4 - update

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 7/25/2012 5:03 AM, Jan Kaluža wrote:
> With my latest patches [1] mod_perl looks usable to me and there are 
> only few tests which fails. Many of those tests have to be rewritten, 
> because the features they are testing have changed in httpd-2.4.

Jan,

I'm trying to work on testing the patches and extrapolate on your work. 
However, I'm having problems cleanly patching.

If I use http://jkaluza.fedorapeople.org/mod_perl/all.tgz, what version 
of mod_perl should I be patching against?

Regards,
KAM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org