別記事の通り、Homebrewでemacs-macを入れようとしたところ、Comman Line Toolsが古すぎるということで止まる。
% brew install emacs-mac
Warning: Treating emacs-mac as a formula. For the cask, use railwaycat/emacsmacport/emacs-mac
(中略)
==> Installing emacs-mac from railwaycat/emacsmacport
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Settings.
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.1.
指示に沿って、
sudo rm -rf /Library/Developer/CommandLineTools
するが、次のxcode-selectがコマンド自体ない。ふと見ると、このMacにはXcodeを入れていなかった。仕方なく時間がかかるけど入れた。
で、xcode-selectを実行すると、今度は進んだ。
% sudo xcode-select --install
Password:
xcode-select: note: install requested for command line developer tools
あとは、brew install emacs-mac を再度走らせるが、今度はXcodeのライセンス同意が必要と言われたため、Xcodeを起動して同意してから、またbrew installを実行すると、今度こそemacs-macが入った。
% brew install emacs-mac
Warning: Treating emacs-mac as a formula. For the cask, use railwaycat/emacsmacport/emacs-mac
(中略)
==> Installing emacs-mac from railwaycat/emacsmacport
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Settings.
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.1.
指示に沿って、
sudo rm -rf /Library/Developer/CommandLineTools
するが、次のxcode-selectがコマンド自体ない。ふと見ると、このMacにはXcodeを入れていなかった。仕方なく時間がかかるけど入れた。
で、xcode-selectを実行すると、今度は進んだ。
% sudo xcode-select --install
Password:
xcode-select: note: install requested for command line developer tools
あとは、brew install emacs-mac を再度走らせるが、今度はXcodeのライセンス同意が必要と言われたため、Xcodeを起動して同意してから、またbrew installを実行すると、今度こそemacs-macが入った。
この記事へのコメント
コメントはまだありません。
コメントを送る