关于此问题,我已经搜索了其他疑难解答,但它似乎与其他问题不同,答案也不是很清楚。我希望这里的人能给我一个清晰易懂的答案。
我运行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 or file an issue; just ignore this.
Thanks!
Warning: The following directories do not exist:
/usr/local/include
/usr/local/sbin
You should create these directories and change their ownership to your
account.
sudo mkdir -p /usr/local/include /usr/local/sbin
sudo chown -R $(whoami) /usr/local/include /usr/local/sbin
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:
pcre2
pcre
我该如何解决?只是运行此命令并解决问题?还是我需要做更多的事情?为什么我会出现此错误?
我正在使用macOS Mojave。
谢谢大家的帮助。
答案 0 :(得分:0)
消息正上方:
请注意,这些警告仅用于帮助自制软件 如果您提出问题,维护人员可以进行调试。如果您使用Homebrew进行的所有操作 运行正常:请不要担心或提出问题;只是忽略这一点。谢谢!