當試圖通過Macports安裝Imagemagick時,我在構建perl5.12依賴時遇到錯誤。它說:Error: Status 1 encountered during processing.
Perl5.12沒有通過Macports進行安裝
我試過更新Macports,安裝/建立獨立的perl5.12,卸載和重新安裝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
有誰知道發生了什麼事或什麼,我做錯了什麼?
您切斷了日誌的相關部分;來自構建系統的有趣錯誤消息將會在第一行之上。 – raimue
@Raim是的,對不起。現在添加。 –