[Catalyst] new install -- problem creating a model

Keith Wolters kowolters at gmail.com
Wed Jul 6 16:23:38 CEST 2005


I just installed catalyst and was working through the tutorial at

http://www.perl.com/lpt/a/2005/06/02/catalyst.html

I came to the part where it said to create a model. Here's a transcript of 
what happened then:

[root at palprx01 catalyst]# cd MiniMojo/
[root at palprx01 MiniMojo]# script/minimojo_create.pl model minimojo CDBI 
dbi::SQLite:/home/kwolters/catalyst/MiniMojo/minimojo.db
 exists 
"/usr/home/kwolters/catalyst/MiniMojo/script/../lib/MiniMojo/M/minimojo.pm"
Couldn't require loader class "Class::DBI::Loader::", "Can't locate 
Class/DBI/Loader/.pm in @INC (@INC contains: 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at 
(eval 20) line 2, <DATA> line 1.
BEGIN failed--compilation aborted at (eval 20) line 2, <DATA> line 1.
" at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader.pm line 79, <DATA> line 
1.
[root at palprx01 MiniMojo]#


If I run 'perl -MClass::DBI::Loader' I get no error so why does 
minimojo_create.pl fail?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20050706/73ff172b/attachment.htm


More information about the Catalyst mailing list