[英]I'm trying to install ImageMagick via HomeBrew and the Brew Doctor is giving me the following error. Any advice?
Warning: "config" scripts exist outside your system or Homebrew directories. 警告:“ config”脚本存在于系统或Homebrew目录之外。
./configure
scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking. ./configure
脚本通常会寻找* -config脚本来确定是否安装了软件包,以及在编译和链接时使用哪些其他标志。
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. 如果配置脚本覆盖系统或Homebrew提供的同名脚本,则在路径中包含其他脚本可能会使通过Homebrew安装的软件感到困惑。 We found the following "config" scripts:
我们发现以下“ config”脚本:
/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
Edit your PATH to remove those config scripts. 编辑您的PATH以删除那些配置脚本。 They are likely to be added somewhere in ~/.bashrc if an installer added them.
如果安装程序将它们添加到〜/ .bashrc中的某个位置,则可能会将它们添加。
If you have MacPorts or Fink installed, it won't hurt to remove them as they often interfere with Homebrew. 如果您安装了MacPorts或Fink,则将它们删除通常不会对Homebrew造成干扰,因此删除它们不会有什么坏处。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.