3

当我运行时brew doctor,我得到输出:

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/ImageMagick/bin/Magick++-config
    /opt/ImageMagick/bin/Magick-config
    /opt/ImageMagick/bin/MagickCore-config
    /opt/ImageMagick/bin/MagickWand-config
    /opt/ImageMagick/bin/Wand-config
Warning: Your XQuartz () is outdated
Please install XQuartz 2.7.4.

我该如何解决它,或者我错过了什么重要的东西?

编辑:我相信这就是我无法安装rmagick库的原因。在安装时,我收到此错误消息:an't install RMagick 2.13.1. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information.

4

1 回答 1

0

解决此问题的唯一方法是从 $PATH 变量中删除“配置”脚本。删除 ImageMagick 的安装就可以了。你总是可以用 brew 重新安装它。

请记住,如果您有其他软件依赖于 ImageMagick 的特定位置,这可能会导致问题。

于 2013-03-28T16:13:11.777 回答