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.
--------------- [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 22.\nCompilation failed in require at /home/test/Friends/lib/Friends.pm line 23.\nBEGIN failed--compilation aborted at /home/test/Friends/lib/Friends.pm line 23.\nCompilation failed in require at (eval 11) line 1.\n --------------- In Catalyst.pm line 22 Scalar::Util is used with 'weakened'-Option. use Scalar::Util qw/weaken blessed/; It can not be my perl itself, because the standalone server is running, or am i wrong? I already tried to recompile mod_perl without success. I think the problem must be located in mod_perl or its configuration. In the mod_perl sources i could not find any hints regarding weak references. I am using gentoo Linux and installed apache2 and mod_perl2 using portage. Any hints are welcome. Thank you, Michael