1

我尝试安装(安装先决条件local::lib没有问题)。ExeUtils::MakeMaker

我从这里找到了命令:https ://metacpan.org/pod/local::lib

[frank@simunec1 local-lib-1.008010]$ perl Makefile.PL --bootstrap
Attempting to create directory /home1/frank/perl5
*** Module::AutoInstall version 1.06
*** Checking for Perl dependencies...
[Core Features]
- ExtUtils::MakeMaker ...loaded. (6.68 >= 6.31)
- ExtUtils::Install   ...loaded. (1.54 >= 1.43)
- Module::Build       ...loaded. (0.3601 >= 0.36)
- CPAN                ...loaded. (1.9402 >= 1.82)
*** Module::AutoInstall configuration finished.
Writing Makefile for local::lib
Writing MYMETA.yml and MYMETA.json
**<Stuck for 15 minutes>**

我也尝试运行此命令并将其指向我有权访问的另一个用户目录,但它仍然卡住。IE。perlMakefile.PL --bootstrap=/nas1_home4/frank/perllibrary

我不希望为此编写一个 makefile 需要 15 分钟以上的时间?

4

1 回答 1

0

我发现当它卡住时,如果你按 Ctrl+C。仍然会生成 Makefile。之后,运行 make,然后 make 测试通过。make install 也可以正常工作。它被卡住很奇怪,但希望这个发现对某人有所帮助。

于 2013-06-20T07:09:22.287 回答