2017-01-26 6 views
3

macOS-Sierra를 실행하는 컴퓨터에서 Perlbrew의 최신 버전을 사용하여 멀티 스레딩과 함께 최신 안정 버전의 Perl (5.24.1)을 설치하려고합니다.Perl : Macos Sierra에서 Perlbrew와 함께 설치

Perlbrew가 제대로 설치되지 나타납니다하지만이 명령을 실행하면

Perlbrew install perl-5.24.1 --thread or 
perlbrew install stable --thread 

설치 진행을하지만 위의 제안으로 다음 로그 파일을 보면 다음과 같은 메시지가

Installation process failed. To spot any issues, check 

    /Users/alan/perl5/perlbrew/build.perl-5.24.1.log 

If some perl tests failed and you still want to install this distribution anyway, 
do: 

    (cd /Users/alan/perl5/perlbrew/build/perl-5.24.1; make install) 

You might also want to try upgrading patchperl before trying again: 

실패 파일의 끝에 다음 오류 메시지를 찾으십시오.

1 error generated. 
make[1]: *** [HiRes.o] Error 1 
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack- protector-strong -I/usr/local/include -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -Wthread-safety -O3 -DVERSION=\"1.9733\" -DXS_VERSION=\"1.9733\" "-I../.." -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK_GETTIME -DTIME_HIRES_CLOCK_GETRES -DTIME_HIRES_CLOCK_NANOSLEEP -DTIME_HIRES_CLOCK -DTIME_HIRES_STAT=1 -DATLEASTFIVEOHOHFIVE HiRes.c 
HiRes.xs:945:15: error: use of undeclared identifier 'darwin_time_mutex' 
MUTEX_INIT(&darwin_time_mutex); 
     ^
1 error generated. 
make[1]: *** [HiRes.o] Error 1 
Unsuccessful make(dist/Time-HiRes): code=512 at make_ext.pl line 569. 
make: *** [lib/auto/Time/HiRes/HiRes.bundle] Error 25 
##### Brew Failed #####" 
ld: warning: object file (xxxxxxxx) was built for newer OSX version (10.12) than being linked (10.4) 

내가 유사한 웹에 문제 검색 한 : 로그 파일에 다른 지점에서 (3210)는, 다음과 같은 메시지가 (난이 실패한 설치 과정에 얼마나 관련 아무 생각이 없지만) 너무 여러 번 나타납니다 아무것도 발견하지 못했습니다. 나는 이것이 Perlbrew와 Sierra의 일반적인 문제인지 또는 그것이 내 설정에만 해당되는지 궁금합니다.

은 분명히 나는 ​​특히 매우 도움

답변

3

당신은 단 하나되지 않습니다에 대한

덕분에 가능한 한 간단하게 어떤 응답을 보관하십시오 펄 프로그래밍과 프로그래밍에 초보자입니다 : 그것은 버그입니다. Bug #128972 for perl5: Build failure on OS X 10.12 Sierra

5.26.0에서는 버그가 해결되었지만 5.24.2 및 5.22.4에서는 버그가 해결되지 않은 것으로 보입니다.

당신은 출혈 가장자리 버전으로 시도해 볼 수도 있습니다 (하지만 매우 다른 문제가있을 수 있음) :이 기술적으로 정확하지만

perlbrew install perl-blead 
+1

은 아직 5.26.0 없다. 현재 가장 최신의 dev 릴리스는 5.25.9입니다. 패치가 아직 5.26.0에 있는지 여부는 알 수 없습니다. – simbabque

+0

죄송합니다. 입력 오류가있었습니다. 내가 아는 한 5.24.2에서 수정해야합니다. – Matteo

+1

미래 버전 5.26.0으로 수정되었습니다. 이는 5.24.2와 다릅니다. 그 티켓에 따르면, 픽스는 5.24 지점으로 백 포트되지 않았기 때문에 ikegami가 대답을 편집 한 이유는 무엇입니까? "아직 릴리스 5.24.2에 대한 버그가 해결되었습니다"사실이 아닙니다. – ThisSuitIsBlackNot