[Catalyst] ModPerl 1.99 problem

Marcello m.romani at spinsoft.it
Tue Jun 7 11:56:05 CEST 2005


Marcello ha scritto:
> Hi,
>     I'm trying to make a simple Catalyst app run under 
> apache-2.0.54/mod_perl-1.999.21 (WinXP SP2, activePerl 5.8.6, build 811)
> The error log file reports:
> 
> Can't locate object method "boot" via package mod_perl at 
> C:/Perl/site/lib/Apache/Constants.pm line 8.\n
> 
> Somewhere the mod_perl 1 module Apache::Constants is being loaded, but I 
> can't find where (grep -R 'Apache::Constants' C:/Perl/site' doesn't show 
> anything wrong).
> 
> I've searched around the net and in the docs, but I can't find solution 
> to this.
> The app runs fine using Catalyst's test server (i.e. <app_name>_server.pl)
> The framework loads the MP19 engine (this is correct); I've also tried 
> to specify the MP20 engine, using the -Engine option, but that didn't 
> change anything.
> 
> I guess I'm doing some stupid mistake, but I can't find out what.
> 
> Can anyone help me ?
> 
> Thanks in advance
> 
> Marcello
> 
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
> 

The full error_log line is:

failed to resolve handler `Session': Couldn't load engine 
"Catalyst::Engine::Apache::MP19::Apreq", "Can't locate object method 
"boot" via package "mod_perl" at C:/Perl/site/lib/Apache/Constants.pm 
line 8.
Compilation failed in require at C:/Perl/site/lib/Apache.pm line 6.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Apache.pm line 6.
Compilation failed in require at C:/Perl/lib/CGI/Cookie.pm line 32.
Compilation failed in require at C:/Perl/site/lib/Catalyst/Engine.pm line 7.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Catalyst/Engine.pm 
line 7.
Compilation failed in require at (eval 26)line 3.
...propagated at C:/Perl/lib/base.pm line 85.
BEGIN failed--compilation aborted at 
C:/Perl/site/lib/Catalyst/Engine/Apache/Base.pm line 4.
Compilation failed in require at (eval 25) line 3.
...propagated at C:/Perl/lib/base.pm line 85.
BEGIN failed--compilation aborted at 
C:/Perl/site/lib/Catalyst/Engine/Apache/MP19/Base.pm line 4.
Compilation failed in require at (eval 24) line 3.
...propagated at C:/Perl/lib/base.pm line 85.
BEGIN failed--compilation aborted at 
C:/Perl/site/lib/Catalyst/Engine/Apache/MP19/Apreq.pm line 4.
Compilation failed in require" at C:/Perl/site/lib/Catalyst.pm line 275.
BEGIN failed--compilation aborted at 
c:\\Perlscripts\\Session\\lib/Session.pm line 4.
Compilation failed in require at (eval 3) line 3.



More information about the Catalyst mailing list