2
내가 아카이브를 설치하려고와 우편 번호 :: 다음 명령을 사용하여 우편 번호 :이 아카이브를 설치할 수 없습니다 :: CPAN
는 결코 설치되지 도착하지만cpan[3]> install Archive::Zip
. 다음에 무엇을해야할지 모르겠습니다. 여기에 로그 내가 얻을 수있다 : 여기
Running install for module 'Archive::Zip'
Running make for P/PH/PHRED/Archive-Zip-1.58.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Archive-Zip-1.58-1OzAcc
---- Unsatisfied dependencies detected during ----
---- PHRED/Archive-Zip-1.58.tar.gz ----
Test::MockModule [requires]
Running make test
Delayed until after prerequisites
Running make install
make test had returned bad status, won't install without force
Delayed until after prerequisites
Running install for module 'Test::MockModule'
Running Build for G/GF/GFRANKS/Test-MockModule-0.11.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Test-MockModule-0.11-_LrG4F
'/usr/bin/perl Build.PL ' returned status 512, won't make
Running Build test
Make had some problems, won't test
Running Build install
Make had some problems, won't install
Running make for P/PH/PHRED/Archive-Zip-1.58.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Archive-Zip-1.58-1OzAcc
Warning: Prerequisite 'Test::MockModule => 0' for 'PHRED/Archive-Zip-1.58.tar.gz' failed when processing 'GFRANKS/Test-MockModule-0.11.tar.gz' with 'writemakefile => NO '/usr/bin/perl Build.PL ' returned status 512'. Continuing, but chances to succeed are limited.
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.t ................ ok
t/02_main.t ................... ok
t/03_ex.t ..................... ok
t/04_readmember.t ............. ok
t/05_tree.t ................... ok
t/06_update.t ................. ok
t/07_filenames_of_0.t ......... ok
t/08_readmember_record_sep.t .. ok
t/09_output_record_sep.t ...... ok
t/10_chmod.t .................. ok
t/11_explorer.t ............... ok
t/12_bug_47223.t .............. skipped: Only required on Win32.
t/13_bug_46303.t .............. ok
t/14_leading_separator.t ...... ok
t/15_decrypt.t ................ ok
t/16_decrypt.t ................ ok
t/17_101092.t ................. ok
t/18_bug_92205.t .............. ok
t/19_bug_101240.t ............. ok
t/20_bug_github11.t ........... ok
t/21_zip64.t .................. ok
t/22_deflated_dir.t ........... ok
t/23_closed_handle.t .......... Can't locate Test/MockModule.pm in @INC (@INC contains: /root/.cpan/build/Archive-Zip-1.58-1OzAcc/blib/lib /root/.cpan/build/Archive-Zip-1.58-1OzAcc/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/23_closed_handle.t line 9.
BEGIN failed--compilation aborted at t/23_closed_handle.t line 9.
t/23_closed_handle.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/24_unicode_win32.t .......... ok
그리고입니다 테스트 요약 I 후 설치 :
cpan[2]> o conf
$CPAN::Config options from /root/.cpan/CPAN/MyConfig.pm:
commit [Commit changes to disk]
defaults [Reload defaults from disk]
help [Short help about 'o conf' usage]
init [Interactive setting of all options]
applypatch []
auto_commit [0]
build_cache [100]
build_dir [/root/.cpan/build]
build_dir_reuse [0]
build_requires_install_policy [yes]
bzip2 [/usr/bin/bzip2]
cache_metadata [1]
check_sigs [0]
colorize_debug undef
colorize_output undef
colorize_print undef
colorize_warn undef
commandnumber_in_prompt [1]
commands_quote undef
connect_to_internet_ok [1]
cpan_home [/root/.cpan]
curl undef
dontload_hash undef
dontload_list undef
ftp undef
ftp_passive [1]
ftp_proxy []
ftpstats_period undef
ftpstats_size undef
getcwd [cwd]
gpg [/usr/bin/gpg]
gzip [/usr/bin/gzip]
halt_on_failure [0]
histfile [/root/.cpan/histfile]
histsize [100]
http_proxy []
inactivity_timeout [0]
index_expire [1]
inhibit_startup_message [0]
keep_source_where [/root/.cpan/sources]
load_module_verbosity [none]
lynx undef
make [/usr/bin/make]
make_arg []
make_install_arg []
make_install_make_command [sudo /usr/bin/make]
makepl_arg []
mbuild_arg []
mbuild_install_arg []
mbuild_install_build_command [sudo ./Build]
mbuildpl_arg []
ncftp undef
ncftpget undef
no_proxy []
pager [/usr/bin/less]
password undef
patch []
patches_dir undef
perl5lib_verbosity [none]
prefer_external_tar [1]
prefer_installer [MB]
prefs_dir [/root/.cpan/prefs]
prerequisites_policy [follow]
proxy_pass undef
proxy_user undef
randomize_urllist undef
scan_cache [atstart]
shell [/bin/bash]
show_unparsable_versions [0]
show_upload_date [0]
show_zero_versions [0]
tar [/usr/bin/tar]
tar_verbosity [none]
term_is_latin [1]
term_ornaments [1]
test_report [0]
trust_test_report_history [0]
unzip [/usr/bin/unzip]
urllist
0 [http://cpan.perl-hackers.net/]
1 [http://download.xs4all.nl/CPAN/]
2 [http://cpan.mirrors.uk2.net/]
use_sqlite [0]
username undef
version_timeout [15]
wait_list undef
wget [/usr/bin/wget]
yaml_load_code [0]
yaml_module [YAML]
I : 여기
Test Summary Report
-------------------
t/23_closed_handle.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=24, Tests=302, 2 wallclock secs (0.07 usr 0.01 sys + 1.72 cusr 0.28 csys = 2.08 CPU)
Result: FAIL
Failed 1/24 test programs. 0/302 subtests failed.
make: *** [test_dynamic] Error 255
PHRED/Archive-Zip-1.58.tar.gz
one dependency not OK (Test::MockModule); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PHRED/Archive-Zip-1.58.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
PHRED/Archive-Zip-1.58.tar.gz : make_test NO one dependency not OK (Test::MockModule); additionally test harness failed
이 cpan.pm 내 오의 conf입니다 CentOS를 사용하고 있습니다.
특정 시스템에 대한 자세한 정보를 제공 할 수 있습니까? 귀하의 경우에는 Test :: MockModule이 없다는 오류가 표시됩니다. 어쩌면 외부 의존성을 필요로 할지도 모르겠지만 미리 시도해 볼 수 있습니다. 다른 한편, 문제없이 Ubuntu에 cpanm을 사용하여 설치할 수 있었으므로 문제를 재현하기 위해 더 많은 정보가 필요합니다. – jjmerelo
@jjmerelo는 conf – prgrm
을 추가했는데 Perl 버전이나 운영체제에 대한 단서가 아직 없습니다. 어쨌든, 어떤 의존성이 실패 할 때마다, 그 자체로 설치하여 그 문제가 무엇인지 정확히 알아보십시오. Linux를 사용하고 있다면 (해당하는 경우) 해당 특정 배포본을 미리 패키지화하여 외부 종속성을 설치하는 번거 로움을 줄일 수 있습니다. 그 특별한 경우에,'libtest-mockmodule-perl - 유닛 테스트를위한 모듈에서 서브 루틴을 오버라이드하는 Perl 모듈'. 그래서, 시도하고 운영 체제 repos에서 그것을 설치, 실패, cpan 테스트 :: MockModule, 그 실패, 그것은 당신에게 문제의 단서를 제공합니다. – jjmerelo