+ -
当前位置:首页 → 问答吧 → perl 模块无法安装

perl 模块无法安装

时间:2011-03-02

来源:互联网

使用cpan安装模块Color::Output ,出现如下错误

cpan[1]> install Color::Output
CPAN: Storable loaded ok (v2.20)
Going to read '/home/mwq/.cpan/Metadata'
  Database was generated on Thu, 02 Dec 2010 00:35:49 GMT
CPAN: YAML loaded ok (v0.71)
Build_dir empty, nothing to restore
Running install for module 'Color::Output'
Running make for A/AN/ANIMATOR/Color-Output-1.05.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.02)
Checksum for /home/mwq/.cpan/sources/authors/id/A/AN/ANIMATOR/Color-Output-1.05.tar.gz ok
Scanning cache /home/mwq/.cpan/build for sizes
............................................................................DONE
CPAN: Archive::Tar loaded ok (v1.52)
Color-Output-1.05/
Color-Output-1.05/README
Color-Output-1.05/MANIFEST
Color-Output-1.05/test.pl
Color-Output-1.05/Output.pm
Color-Output-1.05/examples/
Color-Output-1.05/examples/symbol.pl
Color-Output-1.05/examples/ANSI.pl
Color-Output-1.05/examples/colors.pl
Color-Output-1.05/examples/W32.pl
Color-Output-1.05/Changes
Color-Output-1.05/Makefile.PL
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build A/AN/ANIMATOR/Color-Output-1.05.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Color::Output
make: Warning: File `/usr/lib/perl/5.10/Config.pm' has modification time 3.9e+06 s in the future
Makefile out-of-date with respect to /usr/lib/perl/5.10/Config.pm /usr/lib/perl/5.10/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL "INSTALLDIRS=site"
Checking if your kit is complete...
Looks good
Writing Makefile for Color::Output
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
make: *** [Makefile] 错误 1
  ANIMATOR/Color-Output-1.05.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
ANIMATOR/Color-Output-1.05.tar.gz            : make NO



哪位大侠知道出了什么问题,该怎么办?谢谢

作者: fucj   发布时间: 2011-03-02

系统日期错了吧?

作者: zhlong8   发布时间: 2011-03-02