[Catalyst] Couldn't require loader class "Class::DBI::Loader::mysql"

Carlos Vicente cvicente at network-services.uoregon.edu
Thu Apr 6 20:41:11 CEST 2006


Hi, 

while trying to build my model I get this:

# script/netdot_create.pl model CDBI CDBI dbi:mysql:netdot
...
Couldn't require loader class "Class::DBI::Loader::mysql", "Can't locate
object method "set_sql" via package "Class::DBI::mysql"
at /usr/lib/perl5/site_perl/5.8.7/Class/DBI/mysql.pm line 58.
Compilation failed in require
at /usr/lib/perl5/site_perl/5.8.7/Class/DBI/Loader/mysql.pm line 8.
Compilation failed in require at (eval 16) line 2.
BEGIN failed--compilation aborted at (eval 16) line 2.
" at /usr/lib/perl5/site_perl/5.8.7/Class/DBI/Loader.pm line 81.


I googled the error and found this thread:

http://groups.google.com/group/comp.lang.perl.modules/browse_thread/thread/792e7eeaec182015/97c70665dbd071f9

but I wonder if it has to do with how the Catalyst::Helper stuff deals
with it.

Anyone seen this kind of problem before?

cv



More information about the Catalyst mailing list