- 论坛徽章:
- 0
|
cpan>install Net::MySQL
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0.load..........Can't locate Digest/SHA1.pm in @INC (@INC contains: /root/.cpan/build/Net-MySQL-0.09/blib/lib /root/.cpan/build/Net-MySQL-0.09/blib/arch /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /root/.cpan/build/Net-MySQL-0.09/blib/lib/Net/MySQL.pm line 681.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-MySQL-0.09/blib/lib/Net/MySQL.pm line 681.
Compilation failed in require at t/0.load.t line 3.
BEGIN failed--compilation aborted at t/0.load.t line 3.
t/0.load..........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
报如上错误?为什么?
手动从www.cpan.org上面下下来安装也报同样的错误?
README中显示:
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires these other modules and libraries:
IO::Socket
不过我IO::Socket 模块已经先装了,还是不行,怎么办 |
|