安装了Xcode。版本4.3。我想安装gcc4.6。所以我运行这个命令,但ppl似乎有问题。我不知道如何解决它。有没有人遇到过这个问题。感谢。
StevenmatoMac-mini:~ steven$ sudo port install gcc46 +universal
Password:
---> Computing dependencies for gcc46
---> Dependencies to be installed: ppl
---> Building ppl
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install ppl
Log for ppl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/main.log
Error: The following dependencies were not installed: ppl
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
mail.log的部分是: main.log说(日志的尾部):
:info:build ld: symbol(s) not found for architecture i386
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[3]: *** [ppl-config] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-0.11.2-i386/src'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-0.11.2-i386/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-0.11.2-i386'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-0.11.2-i386'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-0.11.2-i386" && /usr/bin/make -j3 -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
"$procedure $targetname"
:info:build Warning: the following items did not execute (for ppl): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install ppl
: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 ppl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/main.log