tmp
Friday, May 9, 2014
port selfupdate でエラー
Mavericksにした所為か以下の様にMacPortsのupdateに失敗してしまう ```bash $ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.2.0 installed, MacPorts base version 2.2.1 downloaded. ---> Updating the ports tree ---> MacPorts base is outdated, installing new version 2.2.1 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl Error: Error installing new MacPorts base: command execution failed Please run `port -v selfupdate' for details. Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed ``` XcodeのCommand Line Toolsがインストールされてないようなのでインストールする Mountain LionではXcodeでインストールできたが、Mavericksからインストール方法が変更されたのでコマンドからインストールする ```bash $ sudo xcode-select --install ``` ダイアログが出るのでインストール インストール中に _このソフトウェアは、現在ソフトウェア・アップデート・サーバから入手できないため、インストールできません。_ とエラーが出た場合はdcgを直接ダウンロードしてインストールする <https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-> その後再度update ```bash $ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.2.0 installed, MacPorts base version 2.2.1 downloaded. ---> Updating the ports tree ---> MacPorts base is outdated, installing new version 2.2.1 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated ``` ###参考 * <http://d.hatena.ne.jp/t-horikiri/20131031/1383202003> * <http://hiroki.jp/mavericks-command-line-developer-tools>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment