2012-08-09 49 views
6

在努力麻煩通過MacPorts的安裝libunwind報頭

sudo port install gcc47 

看來,我很想念

  • cctools
  • ld64
  • libunwind報頭

其中兩個

  • cctools
  • ld64

取決於

  • libunwind報頭

當試圖

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 

應該怎麼用這個繼續嗎?

+0

什麼OS/Xcode的版本之前,接受蘋果公司的許可協議? – lajarre 2012-08-27 23:51:54

回答

11

你需要嘗試安裝libunwind-headers

sudo xcodebuild -license agree  
+1

顯着!希望這是我升級我的操作系統後,我磕磕絆絆的最後一個與xcode相關的惡作劇... – lajarre 2012-08-27 23:51:02