【发布时间】:2012-06-19 18:43:06
【问题描述】:
运行“brew doctor”时出现以下错误:
Error: Your Cellar and TEMP directories are on different volumes.
OS X won't move relative symlinks across volumes unless the target file already
exists. Brews known to be affected by this are Git and Narwhal.
You should set the "HOMEBREW_TEMP" environmental variable to a suitable
directory on the same volume as your Cellar
如何设置这个变量?我应该把它设置成什么?谷歌搜索时我似乎找不到任何关于此的内容。
【问题讨论】:
-
brew --cellar的输出是什么?与/tmp所在的卷不同吗? -
[~] $ brew --cellar /usr/local/Cellar
-
这不是一个不同的卷,它只是一个标准的 macbook pro。我不使用任何其他硬盘。
-
嗯,奇怪。如果您最近没有,请运行
brew update以确保一切都是最新的,看看是否有帮助。如果没有,你可能会有更好的运气posting on issue with Homebrew directly(只是不要忘记在这里发布解决方案!)。 -
谢谢,我确实尝试过 brew update 但没有帮助。我会提出问题并报告。
标签: homebrew