无法通过macports安装libunwind-headers [英] Trouble installing libunwind-headers via macports

查看:259
本文介绍了无法通过macports安装libunwind-headers的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  sudo port install gcc47 

看起来我缺少


  • cctools

  • ld64

  • libunwind-headers


其中


  • cctools

  • ld64



取决于


  • libunwind-headers



试图

  sudo port install libunwind-headers 

我得到:

  --->构建libunwind-headers 
错误:libunwind-headers端口的org.macports.build返回:命令执行失败
有关详细信息,请参阅libunwind-headers端口的日志文件:
/ opt / local /var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libunwind-headers/libunwind-headers/main.log
要报告错误,请按照指南中的说明操作:
http://guide.macports。 org /#project.tickets
错误:libunwind-header处理失败

日志文件说:
$ b $

  25:info:build命令失败: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 -targetlibunwind -ld-configuration部署版本OBJROOT = build / SYMROOT = build / MACOSX_DEPLO YMENT_TARGET = 10.8 ARCHS = SDKROOT =GCC_VERSION = com.apple.compilers.llvm.clang.1_0 
26:info:build退出代码:69
27:error:生成端口libunwind-headers的org.macports.build返回:命令执行失败
28:debug:build错误代码:NONE
29:debug:build Backtrace:命令执行失败
30正在执行
31$ procedure $ targetname
32:info:build警告:未针对libunwind-headers执行的目标:org .macports.activate org.macports.build org.macports.destroot org.macports.install
33:notice:build有关详细信息,请查看libunwind-headers端口的日志文件:
34 / opt / local /var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libunwind-headers/libunwind-headers/main.log

我该如何处理这个问题?

解决方案

在尝试安装 libunwind-headers $ b $ pre $ sudo xcodebuild -license agree
$ / code>


In an effort to

sudo port install gcc47

It appears that i am missing

  • cctools
  • ld64
  • libunwind-headers

where both

  • cctools
  • ld64

depend on

  • libunwind-headers

When trying to

sudo port install libunwind-headers

I get:

--->  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

The log file says:

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

How should i proceed with this please?

解决方案

You need to accept Apple's license agreement before attempting to install libunwind-headers

sudo xcodebuild -license agree    

这篇关于无法通过macports安装libunwind-headers的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆