gpt4 book ai didi

crash - Homebrew doctor 崩溃

转载 作者:行者123 更新时间:2023-12-03 15:53:24 27 4
gpt4 key购买 nike

我刚刚升级并更新了 Homebrew 软件,现在如果我运行brew doctor,则会收到以下错误,并且无法运行。我可以删除意外的头文件还是有更好的解决方案?

Warning: Your XQuartz (2.7.6) is outdated
Please install XQuartz 2.7.7:
https://xquartz.macosforge.org


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/ares.h
/usr/local/include/node/ares_version.h
/usr/local/include/node/eio-emul.h
/usr/local/include/node/ev-emul.h
/usr/local/include/node/node.h
/usr/local/include/node/node_buffer.h
/usr/local/include/node/node_object_wrap.h
/usr/local/include/node/node_version.h
/usr/local/include/node/uv-private/eio.h
/usr/local/include/node/uv-private/ev.h
/usr/local/include/node/uv-private/ngx-queue.h
/usr/local/include/node/uv-private/tree.h
/usr/local/include/node/uv-private/uv-unix.h
/usr/local/include/node/uv-private/uv-win.h
/usr/local/include/node/uv.h
/usr/local/include/node/v8-debug.h
/usr/local/include/node/v8-preparser.h
/usr/local/include/node/v8-profiler.h
/usr/local/include/node/v8-testing.h
/usr/local/include/node/v8.h
/usr/local/include/node/v8stdint.h

最佳答案

基本上,您只需要升级系统中的XQuartz并忽略所有其他警告。

您可能会构建一些利用X11组件的软件,因此只需转到https://xquartz.macosforge.org/,下载并安装最新版本。

很明显,您在不使用 Homebrew 软件的情况下安装了node.js,因此头文件没有通过 Homebrew 软件添加到/use/local/include/中并造成混淆。除非遇到警告消息中提到的某种问题,否则您可以忽略它们。

关于crash - Homebrew doctor 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26025108/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com