2011-09-22 1 views
3

Macports를 통해 Imagemagick을 설치하려고 할 때 perl5.12 의존성을 빌드 할 때 오류가 계속 발생합니다. 그것은 : Error: Status 1 encountered during processing.Perl5.12가 Mac 포트를 통해 설치되지 않았습니다.

perl5.12를 개별적으로 설치하거나 설치하는 Macports를 업데이트하려고 시도했지만, perl5.12를 제거하고 다시 설치하여 사용하지 마십시오.

Making x2p stuff 
:info:build ./perl -f -Ilib pod/buildtoc --build-toc -q 
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.3/x2p' 
:info:build You haven't done a "make depend" yet! 
:info:build make[1]: *** [hash.o] Error 1 
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.3/x2p' 
:info:build make: *** [translators] Error 2 
:info:build make: *** Waiting for unfinished jobs.... 
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.3' 
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.3" && /usr/bin/make -j2 -w all " returned error 2 
:error:build Target org.macports.build returned: shell command failed (see log for details) 
:debug:build Backtrace: shell command failed (see log for details) 
    while executing 
"command_exec build" 
    (procedure "portbuild::build_main" line 8) 
    invoked from within 
"$procedure $targetname" 
:info:build Warning: the following items did not execute (for perl5.12): org.macports.activate org.macports.build org.macports.destroot org.macports.install 
:error:build Failed to install perl5.12 
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory 
    while executing 
"open [file join $dir tclIndex]" 
:notice:build Log for perl5.12 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/main.log 

Here’s the whole log.

사람이 무슨 일이 일어나고 있는지 또는 내가 잘못 알고 있나요? 여기 로그의 어떤 오류 부분은 말한다이다

+0

로그의 관련 부분을 자릅니다. 빌드 시스템의 재미있는 오류 메시지가 첫 번째 행 위에 있었을 것입니다. – raimue

+0

@Raim 예, 죄송합니다. 추가되었습니다. –

답변

1

최신 macPorts 업데이트가 내 문제를 해결했음을 나타냅니다. selfupdate를 실행해야했습니다.

-3

어떤 Mac OS X 버전이 있습니까? 필자는 라이온이 있으며 Perl 5.12.3과 함께 제공됩니다. 개발자 도구를 설치해야 할 수도 있습니다.

ActivePerl은 언제든지 버전 5.12.4로 시도 할 수 있습니다. Mac에서 ActivePerl을 사용해 보지 않았지만 개발자 도구가 설치되어 있으면 필요한 gcc 컴파일러가 설치되어 설치되므로 XS CPAN 패키지를 설치할 수 있습니다.

PC에서는 Perl 패키지 관리자에서 CPAN을 설치해야하며 모든 CPAN 모듈이 설치되지는 않지만 Mac 운영체제이기 때문에 Mac에서 ActivePerl과 동일한 문제가 발생하는지는 잘 모릅니다 체계.