9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MavericksでCommand Line Toolsのインストール方法

Posted at

MacのOSをMavericksにしたらMacportsが使えなくなってた。

Macports使ったらこんな警告でた。

Warning: port definitions are more than two weeks old, consider using selfupdate

selfupdate時にもこんなエラー。

DEBUG: Error installing new MacPorts base: command execution failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed

Command Line Toolsを入れ直さないといけないみたい。
Xcodeからじゃ駄目みたいでターミナルから。

以下のコマンド入力してダイアログ出現させてインストール。

$ xcode-select --install

もろもろアップデート。

$ sudo port -d selfupdate
$ sudo port upgrade outdated
$ sudo port upgrade installed

これでなんとかなった。

9
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?