을 기계화 설치 오류 나는 시도하고 맥 OS에서 WWW : : 기계화를 설치하는 명령펄 : WWW는 ::
sudo perl -MCPAN -e 'install WWW::Mechanize'
를 사용하고, 나는 약간이 고정
1/13 Error GETing http://localhost:51623/: Can't connect to localhost:51623 (Connection refused) at t/local/referer.t line 39.
오류를 받고 보관 "localhost"라는 단어의 두 번째 인스턴스 끝에 -v6을 추가하여/etc/hosts 파일을 변경합니다.
t/live/wikipedia.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=58, Tests=608, 69 wallclock secs (0.25 usr 0.11 sys + 8.25 cusr 1.28 csys = 9.89 CPU)
Result: FAIL
Failed 1/58 test programs. 0/608 subtests failed.
make: *** [test_dynamic] Error 255
OALDERS/WWW-Mechanize-1.78.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports OALDERS/WWW-Mechanize-1.78.tar.gz
Running make install
make test had returned bad status, won't install without force
어떻게 WWW를 설치할 수 있습니다 : 기계화 :/etc/hosts 파일은 이제 설치 과정의 끝에서,이 테스트 요약 보고서를 가져 지금
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost-v6
읽어?
처음 cpan을 구성했을 때 시스템의 펄 설치에 쓸 수있는 권한을 부여하지 않았습니다. 오히려 새로운 폴더를 만들었습니다 :/users/(me)/Perl5, 지금까지 모듈을 설치하고 있습니다. –
그러면'sudo'가 필요 없습니다. –
@ SinanÜnür 아, 모듈을 설치하기 위해 인터넷에서 찾은 명령을 사용하고있었습니다. 나는'sudo'의 유무에 관계없이 같은 결과를 얻는다. 더 중요한 것은이 오류 ('t/live/wikipidia.t')가 안전하게 설치해야한다는 것입니까? (또한이 명령을 사용하여 강제 설치하는 방법은 무엇입니까?) –