当我运行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.
答案 0 :(得分:0)
解决问题的唯一方法是从$ PATH变量中删除“config”scrips。删除ImageMagick的安装将会这样做。你总是可以用brew重新安装它。
请注意,如果您有其他软件依赖于ImageMagick的特定位置,这可能会导致问题。