【发布时间】:2014-06-05 08:24:53
【问题描述】:
我需要安装 CPAN 模块 ClearCase::CtCmd。我已经下载了模块CtCmd-1.09。运行命令perl Makefile.PL 后出现以下错误:
perl Makefile.PL
Looking for ClearCase version 7 Found 7.1
Looking for gcc version 2.7 Found 3.4
Looking for SunOS 5.7 Found 5.8
Checking if your kit is complete...
Use of uninitialized value in chdir at /usr/local/lib/perl5/5.8.5/File/Find.pm line 741.
Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/local/lib/perl5/5.8.5/File/Find.pm line 741.
Looks good
Could not open 'CtCmd.pm': No such file or directory at /usr/local/lib/perl5/5.8.5/ExtUtils/MM_Unix.pm line 3079.
我提到 perl 版本是 v5.8.5。 在 INSTALL 文件中指出“ClearCase::CtCmd 模块需要 Perl v5.6.1 或 v5.8 或更高版本。”
【问题讨论】:
-
Perl
5.8.x;那时我用过windows 2000,这样可以说明它的年龄以及为什么推荐更新。 -
ClearCase::CtCmd 的当前版本是 1.11。即使您被旧版本的 Solaris 和旧版本的 Perl 所困,您也可能会发现较旧版本的 ClearCase::CtCmd 更适合您。