gpt4 book ai didi

homebrew - brew doctor 发出警告

转载 作者:行者123 更新时间:2023-12-04 13:19:59 27 4
gpt4 key购买 nike

当我去做冲泡医生时,我会发出很多警告。因此,我继续进行,清理了现有的安装并从头开始。

现在我仍然收到一些警告:

    Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:

/opt/sm/pkg/active/bin/curl-config
/opt/sm/pkg/active/bin/ncurses5-config
/opt/sm/pkg/active/bin/ncursesw5-config
/opt/sm/pkg/active/bin/pkg-config
/opt/sm/pkg/active/bin/xml2-config
/opt/sm/pkg/active/bin/xslt-config
Warning: You have a non-Homebrew 'pkg-config' in your PATH:
/opt/sm/pkg/active/bin/pkg-config

`./configure` may have problems finding brew-installed packages using
this other pkg-config.

但是由于几天前我才刚开始使用OS X,所以不确定所提到的配置文件是否相关或是否可以删除它们?已经在论坛上浏览了几个小时,但目前还没有一个明智的选择。非常感谢您提供任何建议!

最佳答案

尝试从路径中删除/opt/sm/pkg/active/bin/

这样可以防止该目录中安装的脚本意外地优先于 Homebrew 软件安装的脚本。

关于homebrew - brew doctor 发出警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15225312/

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