简体   繁体   English

我试图通过HomeBrew安装ImageMagick,而Brew Doctor给我以下错误。 有什么建议吗?

[英]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.

相关问题 运行颤振医生时很难出错 - Difficulty getting error when running flutter doctor 使用Java从URL下载EXE文件给我带来兼容性错误 - Downloading EXE file from URL with Java giving me compatibility error 尝试在python中通过urllib2下载jpg文件时出错 - Error when trying to download jpg files via urllib2 in python 尝试通过 android 上的 ftp 下载文件时出错 - Error while trying to download a file via ftp on android 我正在尝试在 Outlook 中编写 VBA 宏,它将电子邮件的附件保存到特定文件夹 - I'm trying to write VBA macro in Outlook that will save an email's attachment to a specific folder 我正在尝试实现文件下载,但所有下载的文件都已损坏(图像)或空(pdf) - I'm trying to implement a file download, but all the downloaded files are either corrupted(image) or empty(pdf) 我正在尝试在 python 中制作一个程序,从链接下载文件,并将其移动到特定文件夹 - I'm trying to make a program in python that downloads files from a link, and moves it to a specific folder 我正在尝试制作一个标签,用于下载文件,但会下载指向文件的链接,而不是实际文件 - I'm trying to make a tag where it downloads a file but it downloads the link to the file, not the actual file 我无法在centOS 7中安装bluefish或任何其他Web编辑器以使用php - i am not able to install bluefish or any other web editor in centOS 7 for using php 我尝试使用电源 shell 下载图像文件,但出现以下错误 - I tried to download a image file using power shell and i got the following error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM