gpt4 book ai didi

macports - Perl5.12 不通过 Macports 安装

转载 作者:行者123 更新时间:2023-12-02 05:20:27 26 4
gpt4 key购买 nike

当尝试通过 Macports 安装 Imagemagick 时,我在构建 perl5.12 依赖项时不断收到错误消息。它说:错误:处理过程中遇到状态 1。

我试过更新 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

Here’s the whole log.

有人知道发生了什么事或我做错了什么吗?

最佳答案

原来最新的 macPorts 更新解决了我的问题,只需要运行 selfupdate。

关于macports - Perl5.12 不通过 Macports 安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7508371/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com