15

跑“brew医生”并得到一些错误。我按照此链接上的建议设法解决了路径问题:如何修改 Homebrew 的路径?.

但是,完全迷失了如何处理以下错误:

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

小白。运行 OSX。感谢更聪明的绝地武士的任何帮助......

4

1 回答 1

11

如果您看到此消息,则表示您在未使用自制软件的情况下安装了软件包。如果这些软件包只安装在自制软件之外,它们的配置脚本应该不会干扰自制软件,您不必担心。例如curl,如果您在 homebrew 和另一个包管理器中安装或手动安装,则可能会出现问题。

如果您需要这些软件,您应该删除它们并在自制软件中重新安装它们,否则您可以保留它们/opt或卸载它们。

于 2013-07-13T14:41:27.347 回答