segfault with perl 5.10 + MasonX::Request::WithApacheSession

2008-05-19 Thread Louis-David Mitterrand
[this message elicited no answers so far from mason-users, so maybe the modperl community might be of help, thanks] Hi, Since I've upgraded to perl 5.10 on my debian unstable/sid box I get a segfault when using MasonX::Request::WithApacheSession: [Sat May 17 16:14:55 2008] [notice] Apac

mod_perl V 2.0.4 and undefined symbol: boot_DynaLoader

2008-05-19 Thread Ron Savage
Hi Folks Debian: 2.6.24-1-686 gcc: 4.2.3 Perl: 5.10.0 Apache: 2.2.8 mod_perl: 2.0.4 Debian upgraded Perl to 5.10.0 today, so I tried upgrading mod_perl to 2.0.4. This is the end of 'make test': <===8<>===> make[1]: Leaving directory `/home/ron/mod_perl-2.0.4/xs' /usr/bin/perl -Iblib/arch -Iblib/l

Re: mod_perl V 2.0.4 and undefined symbol: boot_DynaLoader

2008-05-19 Thread Heiko Jansen
Am Montag, den 19.05.2008, 19:34 +1000 schrieb Ron Savage: > of /home/ron/httpd/prefork/conf/httpd.conf: Cannot > load /home/ron/httpd/prefork/modules/mod_perl.so into > server: /home/ron/httpd/prefork/modules/mod_perl.so: undefined symbol: > boot_DynaLoader > <===8><===> > > I did not find any r

Re: segfault with perl 5.10 + MasonX::Request::WithApacheSession

2008-05-19 Thread Perrin Harkins
On Mon, May 19, 2008 at 5:12 AM, Louis-David Mitterrand >## When commented out perl 5.10 works fine >request_class => 'MasonX::Request::WithApacheSession', >session_class => 'Apache::Session::Postgres', >

Re: segfault with perl 5.10 + MasonX::Request::WithApacheSession

2008-05-19 Thread Fred Moyer
Louis-David Mitterrand wrote: [this message elicited no answers so far from mason-users, so maybe the modperl community might be of help, thanks] Hi, Since I've upgraded to perl 5.10 on my debian unstable/sid box I get a segfault when using MasonX::Request::WithApacheSession: [Sat Ma

Re: segfault with perl 5.10 + MasonX::Request::WithApacheSession

2008-05-19 Thread Louis-David Mitterrand
On Mon, May 19, 2008 at 10:31:06AM -0400, Perrin Harkins wrote: > On Mon, May 19, 2008 at 5:12 AM, Louis-David Mitterrand > >## When commented out perl 5.10 works fine > >request_class => > > 'MasonX::Request::WithApacheSession', > >

Re: segfault with perl 5.10 + MasonX::Request::WithApacheSession

2008-05-19 Thread Louis-David Mitterrand
On Mon, May 19, 2008 at 07:32:18AM -0700, Fred Moyer wrote: > Louis-David Mitterrand wrote: >> [this message elicited no answers so far from mason-users, so maybe the >> modperl community might be of help, thanks] >> >> Hi, >> >> Since I've upgraded to perl 5.10 on my debian unstable/sid box I get

New to mod_perl

2008-05-19 Thread Roy Kartadinata
Hello all, I'm relatively new to mod_perl and need to know from all mod_perl experts here if mod_perl can pass a variable back to apache, or maybe any of you have a better solution for it. I'm setting up a proxy using Apache 2.2.8 with mod_proxy and I need to add a custom request header wit

Initialize object permanently

2008-05-19 Thread william
Hello, I just know that I can't have a startup script, but how can I create an object in the startup script and then used that variable object in child modperl script ? Thanks.

Re: Initialize object permanently

2008-05-19 Thread william
On 5/20/08, william <[EMAIL PROTECTED]> wrote: > Hello, I just know that I can't have a startup script, but how can I > create an object in the startup script and then used that variable > object in child modperl script ? Thanks. > Sorry I mean I CAN have a startup script.

Re: Initialize object permanently

2008-05-19 Thread André Warnier
william wrote: On 5/20/08, william <[EMAIL PROTECTED]> wrote: Hello, I just know that I can't have a startup script, but how can I create an object in the startup script and then used that variable object in child modperl script ? Thanks. Sorry I mean I CAN have a startup script. Hi.

Re: Initialize object permanently

2008-05-19 Thread Michael Peters
william wrote: > Hello, I just know that I can't have a startup script, but how can I > create an object in the startup script and then used that variable > object in child modperl script ? Thanks. It depends on your needs. If you need a read-only object that won't change during the whole time the

Re: Initialize object permanently

2008-05-19 Thread william
On 5/20/08, André Warnier <[EMAIL PROTECTED]> wrote: > > > william wrote: > > > On 5/20/08, william <[EMAIL PROTECTED]> wrote: > > > > > Hello, I just know that I can't have a startup script, but how can I > > > create an object in the startup script and then used that variable > > > object in c

Re: segfault with perl 5.10 + MasonX::Request::WithApacheSession

2008-05-19 Thread Niko Tyni
On Mon, May 19, 2008 at 11:12:08AM +0200, Louis-David Mitterrand wrote: > Since I've upgraded to perl 5.10 on my debian unstable/sid box I get a > segfault when using MasonX::Request::WithApacheSession: > > [Sat May 17 16:14:55 2008] [notice] Apache/2.2.8 (Debian) > mod_apreq2-20051231/2.

Re: Initialize object permanently

2008-05-19 Thread william
On 5/20/08, André Warnier <[EMAIL PROTECTED]> wrote: > If you never modify this object after creation, then the answer given by > Michael Peters is the one you are looking for. > > But make sure that the object is indeed never modified (or that what is > modified does not matter). I have not look

Re: Initialize object permanently

2008-05-19 Thread Michael Peters
william wrote: > Then I would need to modify the QueryData module then, No don't do that. > by modifying > the standard module would it make my future maintenance more > complicated ? Absolutely. > Do you have any tips for me ? Wrap the object in your own package. Let's call it My::QueryDat

Re: Initialize object permanently

2008-05-19 Thread Dodger
2008/5/19 Michael Peters <[EMAIL PROTECTED]>: > william wrote: > >> Then I would need to modify the QueryData module then, > > No don't do that. > >> by modifying >> the standard module would it make my future maintenance more >> complicated ? > > Absolutely. > >> Do you have any tips for me ? > >

PerlAuthenHandler and ErrorDocument 401

2008-05-19 Thread fof
Hello. I am having a configuration issue trying to use ErrorDocument directive with a PerlAuthenHandler. I don't think that this is related to bad mod_perl behavior more likely some silly configuration error on my part :$ Anyway I am using the centos yum package install for apache and mod_perl 2

[Fwd: Re: mod_perl V 2.0.4 and undefined symbol: boot_DynaLoader]

2008-05-19 Thread Ron Savage
Hi Folks Copying this to the list... Forwarded Message > From: Ron Savage <[EMAIL PROTECTED]> > To: Heiko Jansen <[EMAIL PROTECTED]> > Subject: Re: mod_perl V 2.0.4 and undefined symbol: boot_DynaLoader > Date: Tue, 20 May 2008 11:24:34 +1000 > > Hi Heiko > > On Mon, 2008-05-1