오늘 드디어 산사자가 나왔다.
Mountain lion에서 이전처럼 macport를 사용할려고 다음과 같이 작업을 했다.
$sudo port selfupdate
Error 발생 ...
아 다시 생각을 해보니 Xcode4.4가 설치가 되었다. 그래서 Xcode4.4에서 terminal tool을 설치 해주고 다시
$sudo port selfupdate --> OK
$sudo port upgrade outdated
---> 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
Error: Problem while installing libunwind-headers
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
그래서 다시 이것 저것 확인하다가
$sudo port clean apple-gcc42 를 하라고 했는데 이것도 효과가 없었음.
그러다가 다음과 같이하고 성공함.
$sudo xcode-build -license (x : 댓글을 보시면 알 수 있어요.)
$sudo xcodebuild -license
그러면 계속 space를 누르다가 질문을 하면 agree라고 하고 나서
다시
$sudo port selfupdate
$sudo port upgrade outdated
--> OK
참고 하세요.
댓글 2개:
무작정 따라 하다 보니, 아래와 같이 xcodebuild는 중간에 dash가 없음을 발견했어요.
> sudo xcodebuild -license
아 좋은 지적 고맙습니다. 바로 수정하겠습니다.
댓글 쓰기