我正在尝试安装perl的模块Date:Parse on cygwin,但没有运气:
cpan Date::Parse
有什么想法吗?似乎其他模块也无法安装。
输出:
CPAN: Storable loaded ok (v2.20)
Going to read '/home/xxxxxxxx/.cpan/Metadata'
Database was generated on Wed, 18 Jan 2012 19:10:27 GMT
Running install for module 'Date::Parse'
CPAN: YAML loaded ok (v0.71)
Running make for G/GB/GBARR/TimeDate-1.20.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.02)
Checksum for /home/xxxxxxxx/.cpan/sources/authors/id/G/GB/GBARR/TimeDate-1.20.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.52)
TimeDate-1.20/
TimeDate-1.20/ChangeLog
(...)
TimeDate-1.20/lib/Date/Language/Turkish.pm
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build G/GB/GBARR/TimeDate-1.20.tar.gz
Not a CODE reference at /home/xxxxxxxx/lib/perl/File/Find.pm line 126.
Checking if your kit is complete...
Warning: No success on command[/usr/bin/perl Makefile.PL]
GBARR/TimeDate-1.20.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
perl -version
输出为:“这是为i686-cygwin-thread-multi-64int构建的perl,v5.10.1(*)(有13个已注册的补丁,有关详细信息,请参阅perl -V)”。
答案 0 :(得分:1)
来自http://cygwin.com/ml/cygwin/2010-02/msg00242.html:
看起来你错过了'make'。我首先检查你是否安装了包。