How do I install the dependencies I need for MySQL::Slurp?
I am trying to install the mysqlslurp utility found in MySQL::Slurp.
I found that it requires Moose and therefore I installed that package too.
But I am still not able to use the mysqlslurp
command. I get an error:
Can't locate Moose.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64开发者_如何学C-linux-thread-multi
.....
BEGIN failed--compilation aborted at /usr/bin/mysqlslurp line 4.
It sounds like Moose isn't installed in Perl's include path. You might need to specify the path using use lib
- see this article for how.
If you install your modules with CPAN.pm (or other CPAN clients), you don't have to handle the dependencies yourself:
% cpan MySQL::Slurp
How did you install your modules? Where did you install them?
精彩评论