我以前在我的OSX10.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安装的理解很差,我怀疑我做错了什么,在某个地方导致了故障。
发布于 2014-11-27 08:51:13
目录中有一些冲突是造成原因的原因。
$ /opt/cmake/bin/cmake -version
在上述命令的帮助下,您可以尝试Cmake是否已正确下载。否则,尝试安装在不同的位置。
https://unix.stackexchange.com/questions/170230
复制相似问题