【问题标题】:Lion + Homebrew: how to fix "config" scripts?Lion + Homebrew:如何修复“配置”脚本?
【发布时间】:2012-12-09 20:01:48
【问题描述】:

当我运行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.

【问题讨论】:

    标签: ruby imagemagick osx-lion homebrew


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2012-09-09
      • 1970-01-01
      • 2020-11-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-27
      • 2020-02-09
      • 1970-01-01
      相关资源
      最近更新 更多