Building mod_perl 2.0.5

Building mod_perl 2.0.5

am 07.10.2011 22:15:37 von Dan Axtell

Hi,

I'm trying to upgrade some 64-bit Linux servers and though I'd upgrade Perl as
well. I've built the latest Apache (2.0.21), Perl (5.14.2) and mod_perl
(2.0.5), but mod_perl fails three tests:
api/request_rec
filter/out_str_reverse
err_headers_out

When I went ahead and installed this on a test server, some stuff worked but
some custom authentication handlers failed.

The last time I built everything from source I used Perl 5.10.1 and mod_perl
2.0.4, I believe. Is there a recommended version of Perl to use when
building mod_perl?

Thanks,
Dan

Re: Building mod_perl 2.0.5

am 07.10.2011 22:35:08 von Fred Moyer

On Fri, Oct 7, 2011 at 1:15 PM, Dan Axtell wrote:
> Hi,
>
> I'm trying to upgrade some 64-bit Linux servers and though I'd upgrade Pe=
rl as
> well. =A0I've built the latest Apache (2.0.21), Perl (5.14.2) and mod_per=
l

That version of Apache is the legacy 2.0.x branch. Any chance you can
upgrade to 2.2.x? Some of the authentication handling changed IIRC.


> (2.0.5), =A0but mod_perl fails three tests:
> api/request_rec
> filter/out_str_reverse
> err_headers_out
>
> When I went ahead and installed this on a test server, some stuff worked =
but
> some custom authentication handlers failed.
>
> The last time I built everything from source I used Perl 5.10.1 and mod_p=
erl
> 2.0.4, I believe. =A0Is there a recommended version of Perl to use =A0whe=
n
> building mod_perl?
>
> Thanks,
> Dan
>

Re: Building mod_perl 2.0.5

am 07.10.2011 22:50:07 von Dan Axtell

On Friday, October 07, 2011 04:35:08 pm Fred Moyer wrote:
> On Fri, Oct 7, 2011 at 1:15 PM, Dan Axtell wrote:
>
> That version of Apache is the legacy 2.0.x branch. Any chance you can
> upgrade to 2.2.x? Some of the authentication handling changed IIRC.
>

I'm sorry, I meant to say I'm building Apache 2.2.21, mod_perl 2.0.5., perl
5.14.2 I wanted to upgrade Apache because of some of the recent security
holes found.

Re: Building mod_perl 2.0.5

am 08.10.2011 01:44:48 von Fred Moyer

On Friday, October 7, 2011 at 1:50 PM, Dan Axtell wrote:
> On Friday, October 07, 2011 04:35:08 pm Fred Moyer wrote:
> > On Fri, Oct 7, 2011 at 1:15 PM, Dan Axtell wrote:
> >
> > That version of Apache is the legacy 2.0.x branch. Any chance you can
> > upgrade to 2.2.x? Some of the authentication handling changed IIRC.
>
> I'm sorry, I meant to say I'm building Apache 2.2.21, mod_perl 2.0.5., perl
> 5.14.2 I wanted to upgrade Apache because of some of the recent security
> holes found.
In that case, you could run 'make test TEST_VERBOSE=1', and then post the t/log/error_logs content here. Also the httpd configuration options. Last time I worked with 64-bit I had to compile Perl with the -fPIC option. mod_perl though should fail to build without Perl configured like that however.