Homebrewソフトウェアのインストールに関する問題

Homebrewソフトウェアのインストールに関する問題

以前は、OS X 10.9.5システムにPythonとHomebrewをカスタムインストールしました。今CMakeをインストールしようとしていますが、次のようなさまざまなエラーが発生します。

cd: /usr/local/src: No such file or directory

を実行しようとすると、brew updatebrew doctorのような多くのエラーが報告されます。

Warning: The /usr/local directory is not writable.

Warning: Python is installed at /Library/Frameworks/Python.framework

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Warning: You have unlinked kegs in your Cellar

Python

Warning: You have uncommitted modifications to Homebrew

これらの問題をどのように解決するのですか、それとも最初からやり直してすべてをやり直す方が良いですか?それでは、これはどのように達成されますか?

UNIXのインストールに関する知識がないため、何か間違って何か誤動作を引き起こすようです。

ベストアンサー1

この問題を引き起こすディレクトリにいくつかの競合があります。

$ /opt/cmake/bin/cmake - バージョン

上記のコマンドの助けを借りて、Cmakeが正しくダウンロードされたことを確認できます。それ以外の場合は、別の場所にインストールしてみてください。

おすすめ記事