Tôi đã thử làm theo hướng dẫn để cài đặt các mô-đun CPAN tại liên kết này:
http://www.cpan.org/modules/INSTALL.html
Tuy nhiên, khi tôi cố gắng cài đặt Devel :: REPL, nó không thành công.
Đây là nhật ký:
[user@machine] cpanm Devel::REPL
--> Working on Devel::REPL
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Devel-REPL-1.003025.tar.gz ... OK
==> Found dependencies: Module::Build::Tiny
--> Working on Module::Build::Tiny
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.036.tar.gz ... OK
==> Found dependencies: TAP::Harness::Env, ExtUtils::Helpers, ExtUtils::InstallPaths, ExtUtils::Config
--> Working on TAP::Harness::Env
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Test-Harness-3.30.tar.gz ... OK
Configuring Test-Harness-3.30 ... OK
Building and testing Test-Harness-3.30 ... OK
Successfully installed Test-Harness-3.30
--> Working on ExtUtils::Helpers
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.022.tar.gz ... OK
Configuring ExtUtils-Helpers-0.022 ... OK
Building and testing ExtUtils-Helpers-0.022 ... OK
Successfully installed ExtUtils-Helpers-0.022
--> Working on ExtUtils::InstallPaths
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.010.tar.gz ... OK
Configuring ExtUtils-InstallPaths-0.010 ... OK
==> Found dependencies: ExtUtils::Config
--> Working on ExtUtils::Config
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.007.tar.gz ... OK
Configuring ExtUtils-Config-0.007 ... OK
Building and testing ExtUtils-Config-0.007 ... OK
Successfully installed ExtUtils-Config-0.007
! Installing the dependencies failed: Module 'ExtUtils::Config' is not installed
! Bailing out the installation for ExtUtils-InstallPaths-0.010.
! Installing the dependencies failed: Module 'TAP::Harness::Env' is not installed, Module 'ExtUtils::Helpers' is not installed, Module 'ExtUtils::InstallPaths' is not installed, Module 'ExtUtils::Config' is not installed
! Bailing out the installation for Module-Build-Tiny-0.036.
! Installing the dependencies failed: Module 'Module::Build::Tiny' is not installed
! Bailing out the installation for Devel-REPL-1.003025.
3 distributions installed
Đầu ra của sw_vers:
Tên sản phẩm: Mac OS X Phân tích sản phẩm: 10.9.5 BuildVersion: 13F1066