cygwin下无法安装cpan模块
我正在尝试在 cygwin 上安装 perl 的模块 Date:Parse,但没有运气:
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 了解更多信息)细节)”。
I'm trying to install perl's module Date:Parse on cygwin, but no luck:
cpan Date::Parse
Any ideas? It seems that other modules are having trouble installing as well.
Output:
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
The perl -version
output is: "This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int (with 13 registered patches, see perl -V for more detail)".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自http://cygwin.com/ml/cygwin/2010-02/msg00242。 html :
看起来您缺少“make”。我首先检查您是否已安装该软件包。
From http://cygwin.com/ml/cygwin/2010-02/msg00242.html :
Looks like you're missing 'make'. I would start by checking to see if you've installed the package.