Can't locate Date/Parse.pm in @INC (@INC contains: . lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at Bugzilla/Util.pm line 51.



To test, I ran the perl script testserver.pl and am getting following

error message:

 

Can't locate DateTime/Locale.pm in @INC (@INC contains: .

lib/i386-linux-thread-multi lib

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7

/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5

/usr/lib/perl5/site_perl

/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7

/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5

/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi

/usr/lib/perl5/5.8.8) at lib/DateTime.pm line 46.

BEGIN failed--compilation aborted at lib/DateTime.pm line 46.

Compilation failed in require at Bugzilla/Util.pm line 53.

BEGIN failed--compilation aborted at Bugzilla/Util.pm line 53.

Compilation failed in require at Bugzilla/Hook.pm line 26.

BEGIN failed--compilation aborted at Bugzilla/Hook.pm line 26.

Compilation failed in require at Bugzilla/Config.pm line 37.

BEGIN failed--compilation aborted at Bugzilla/Config.pm line 37.

Compilation failed in require at Bugzilla.pm line 38.

BEGIN failed--compilation aborted at Bugzilla.pm line 38.

Compilation failed in require at ./testserver.pl line 24.

BEGIN failed--compilation aborted at ./testserver.pl line 24.

For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.

 运行以下命令解决。

   /usr/bin/perl install-module.pl List::MoreUtils
   /usr/bin/perl install-module.pl DateTime::Locale