Homebrew 소프트웨어 설치 문제

Homebrew 소프트웨어 설치 문제

이전에 OS X 10.9.5 시스템에 Python과 Homebrew를 사용자 정의 설치했습니다. 지금 CMake를 설치하려고 하는데 다음과 같은 다양한 오류가 발생합니다.

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

을 실행하려고 하면 brew update다음 brew 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가 올바르게 다운로드되었는지 확인할 수 있습니다. 그렇지 않으면 다른 위치에 설치해 보십시오.

관련 정보