【问题标题】:Trouble installing libunwind-headers via macports通过 macports 安装 libunwind-headers 时遇到问题
【发布时间】:2012-08-06 23:05:40
【问题描述】:

努力

sudo port install gcc47

我好像不见了

  • cctools
  • ld64
  • libunwind-headers

两者都有

  • cctools
  • ld64

取决于

  • libunwind-headers

尝试时

sudo port install libunwind-headers

我明白了:

--->  Building libunwind-headers
Error: org.macports.build for port libunwind-headers returned: command execution failed
Please see the log file for port libunwind-headers for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libunwind-headers/libunwind-headers/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libunwind-headers failed

日志文件说:

25 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libunwind-headers    /libunwind-headers/work/libunwind-30" && /usr/bin/xcodebuild  -target "libunwind-ld" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLO    YMENT_TARGET=10.8 ARCHS= SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0
 26 :info:build Exit code: 69
 27 :error:build org.macports.build for port libunwind-headers returned: command execution failed
 28 :debug:build Error code: NONE
 29 :debug:build Backtrace: command execution failed
 30     while executing
 31 "$procedure $targetname"
 32 :info:build Warning: targets not executed for libunwind-headers: org.macports.activate org.macports.build org.macports.destroot org.macports.install
 33 :notice:build Please see the log file for port libunwind-headers for details:
 34     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libunwind-headers/libunwind-headers/main.log

请问我该如何处理?

【问题讨论】:

  • 什么操作系统/Xcode版本?

标签: gcc macports


【解决方案1】:

在尝试安装libunwind-headers之前,您需要接受 Apple 的许可协议

sudo xcodebuild -license agree    

【讨论】:

  • 了不起!希望这是我升级操作系统后遇到的最后一个与 xcode 相关的坏笑话……
猜你喜欢
  • 2013-08-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-09-22
  • 2014-07-21
  • 2021-10-06
  • 1970-01-01
相关资源
最近更新 更多