2012-12-22 53 views
3

当我运行brew doctor,我得到的输出:Lion + Homebrew:如何解决“配置”脚本?

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

解决此问题的唯一方法是从$ PATH变量中删除“config”脚本。删除ImageMagick的安装将会这样做。你可以随时用brew重新安装。

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