相关疑难解决方法(0)

安装RMagick gem - 找不到MagickWand.h

我在OSX 10.6.8上安装rmagick gem,使用gem install rmagick,我收到以下错误

    Can't install RMagick 2.13.1. Can't find MagickWand.h.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/Users/disaacs/.rvm/rubies/ruby-1.9.3-p125/bin/ruby


Gem files will remain installed in /Users/disaacs/.rvm/gems/ruby-1.9.3-p125/gems/rmagick-2.13.1 for inspection.
Results logged to /Users/disaacs/.rvm/gems/ruby-1.9.3-p125/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
Run Code Online (Sandbox Code Playgroud)

查看我看到的mkmf.log文件

have_header: checking for wand/MagickWand.h... -------------------- no

"/usr/bin/gcc-4.2 -E …
Run Code Online (Sandbox Code Playgroud)

ruby rmagick osx-snow-leopard

12
推荐指数
4
解决办法
2万
查看次数

标签 统计

osx-snow-leopard ×1

rmagick ×1

ruby ×1