“config”脚本存在于系统或Homebrew目录之外 [英] "config" scripts exist outside your system or Homebrew directory

查看:2540
本文介绍了“config”脚本存在于系统或Homebrew目录之外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ran酿造医生,得到一些错误。我设法通过遵循此链接的建议修复的路径问题: Homebrew要我修改我的PATH。不知道如何

Ran "brew doctor" and got some errors. I managed to fix the path issue by following the advice at this link: Homebrew wants me to amend my PATH. No clue how.

但是,完全失去了与以下错误:

However, completely lost with what to do with the following error:

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。赞美更聪明的Jedis的任何帮助...

Noob. Running OSX. Appreciate any assistance from wiser Jedis...

推荐答案

如果你看到这个消息,这意味着你没有使用homebrew安装包。
如果这些软件包只在homebrew外安装,他们的配置脚本不应该干扰自制软件,你不必担心。
如果你有,例如<​​code> curl ,安装在homebrew和另一个软件包管理器或手动,可能会有问题。

If you see this message it means you have packages installed without using homebrew. If these packages are only installed outside homebrew their config scripts should not interfere with homebrew and you don't have to worry. There might be a problem if you have, for example curl, installed in homebrew and in another packages manager or manually.

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

If you need these softwares you should remove them and reinstall them in homebrew otherwise you can leave them in /opt or uninstall them.

这篇关于“config”脚本存在于系统或Homebrew目录之外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆