Re: Weak references, problem with apache2/mod_perl2

2006-11-10 Thread Fred Moyer
On Fri, 10 Nov 2006, Perrin Harkins wrote: On Fri, 2006-11-10 at 14:24 +0100, Michael Frankl wrote: I cleaned up the perl-installation. There where directories under /usr/lib/perl5 from previous perl installations. I deleted them all. I deleted the Scalar::Util that is not from main distributio

Re: Weak references, problem with apache2/mod_perl2

2006-11-10 Thread Michael Frankl
Hello Perrin, Am Freitag, den 10.11.2006, 15:29 -0500 schrieb Perrin Harkins: > Sorry, I'm not sure what to suggest for your next step. Maybe contact > the author of Scalar::Util. Or maybe recompile your system perl so it > will support weak refs without installing a separate module. I already

Re: Weak references, problem with apache2/mod_perl2

2006-11-10 Thread Perrin Harkins
On Fri, 2006-11-10 at 14:24 +0100, Michael Frankl wrote: > I cleaned up the perl-installation. There where directories > under /usr/lib/perl5 from previous perl installations. I deleted them > all. I deleted the Scalar::Util that is not from main distribution. Now > I got the same error running the

Re: Weak references, problem with apache2/mod_perl2

2006-11-10 Thread Michael Frankl
Hi, Am Donnerstag, den 09.11.2006, 13:48 -0500 schrieb Perrin Harkins: > > So that means, that mod_perl is not compiled with the same perl as is > > used by the standalone server!? > > Yes, I don't know any way to disable weak references without recompiling > Scalar::Util, which is part of the ma

Re: Weak references, problem with apache2/mod_perl2

2006-11-09 Thread Perrin Harkins
On Thu, 2006-11-09 at 11:24 +0100, Michael Frankl wrote: > Ok, I testet this: > perl -e "use Scalar::Util qw/weaken blessed/;" > > Runs without any complains. Used directly in the script started by > Apache writes the same message to errorlog: > - > [Thu Nov 09 10:37:23 2006] [

Re: Weak references, problem with apache2/mod_perl2

2006-11-09 Thread Michael Frankl
Am Mittwoch, den 08.11.2006, 12:39 -0500 schrieb Perrin Harkins: > > It can not be my perl itself, because the standalone server is running, > > or am i wrong? > > It probably means that your mod_perl was not compiled with the same perl > that you're running the standalone server on. Either that,

Re: Weak references, problem with apache2/mod_perl2

2006-11-08 Thread Perrin Harkins
On Wed, 2006-11-08 at 14:29 +0100, Michael Frankl wrote: > [Mon Nov 06 00:21:45 2006] [error] Weak references are not implemented > in the version of perl at /usr/lib/perl5/site_perl/5.8.8/Catalyst.pm > line 22\nBEGIN failed--compilation aborted > at /usr/lib/perl5/site_perl/5.8.8/Catalyst.pm line

Weak references, problem with apache2/mod_perl2

2006-11-08 Thread Michael Frankl
Hi, I have a problem running an application (catalyst-based) under apache2/mod_perl2. The app runs fine with catalyst standalone server (which is included in catalyst). But when I try to run it under mod_perl on the same machine, i am getting the error below in apache-errorlog. --- [M