我在使用Homebrew安装mysql时遇到问题,并已运行brew doctor
尝试深入了解它。
给出的建议始终是解决Homebrew提出的警告/错误,但是我不想这样做会对我的系统造成不利的副作用。
据我了解,节点错误很可能是由手动安装Node而非与Homebrew一起引起的。我不确定git unlinked桶是关于什么的。
解决这些错误的最安全方法是什么?
CRMPiccos-MacBook:~ crmpicco$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
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.
Unexpected header files:
/usr/local/include/node/node_internals.h
/usr/local/include/node/smalloc.h
/usr/local/include/node/v8stdint.h
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
git
最佳答案
据我了解,节点错误很可能是由手动安装Node而非与Homebrew一起引起的。
我不知道这些文件来自哪里,但是如果您害怕删除它们,可以将它们移到某个位置,然后在需要时将它们移回原处。
我不确定git unlinked桶是关于什么的。git
已安装,但未链接到/usr/local/bin
和朋友之类的标准位置。因此,依赖于该特定git
安装的程序无法找到它。如果没有任何依赖于此的公式,则应运行brew link git
或brew rm git
。
关于mysql - 解决 Homebrew 错误警告而不会造成不利影响,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45296715/