cygwin下无法安装cpan模块

发布于 2024-12-27 15:41:02 字数 1283 浏览 1 评论 0原文

我正在尝试在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

苹果你个爱泡泡 2025-01-03 15:41:02

来自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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文