cpan问题


问题:


Can't locate Spreadsheet/ParseXLSX.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /work/copy_recovery_files.pl line 3.
BEGIN failed--compilation aborted at /work/copy_recovery_files.pl line 3.


Can't locate Spreadsheet/ParseExcel.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.14.2/Spreadsheet/ParseXLSX.pm line 13.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Spreadsheet/ParseXLSX.pm line 13.
Compilation failed in require at /work/copy_recovery_files.pl line 3.
BEGIN failed--compilation aborted at /work/copy_recovery_files.pl line 3.


解决办法:


cpan网站
http://search.cpan.org/

搜索缺少的包下载安装;
安装步骤:
解压后,
#perl Makefile.PL

#make
#make install




你可能感兴趣的:(cpan问题)