找不到魔杖/ MagickWand.h [英] Can't find wand/MagickWand.h
问题描述
我已将系统更新到Ubuntu 15.04,现在无法安装Rmagick ...
I have update my system to Ubuntu 15.04 and now Rmagick can't be installed...
它给出了以下错误:
$ gem install rmagick -v '2.13.2'
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/home/maria/.rvm/rubies/ruby-2.1.1/bin/ruby -r ./siteconf20150428-16155-3f5duq.rb extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... yes
checking for ImageMagick version >= 6.4.9... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... no
Can't install RMagick 2.13.2. 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.
我安装了所有需要的软件包(imagemagick libmagickwand-dev等,我已经尝试了所有描述的软件包在其他问题中)
I install all the packages needed (imagemagick libmagickwand-dev, etc, I have tried all the packages described in other questions)
有人遇到同样的问题吗?有什么线索吗?
Does someone had the same problem? Any clue?
在更新到15.04之前一切正常。
Everything was working fine before updating to 15.04
编辑
我设法制作它可以清除imagemagick并从源代码安装 http://www.imagemagick .org / script / install-source.php?ImageMagick = 9s6tlikqbn5eb0u0spg5o38sa4 #unix
现在给我这个错误:这个RMagick的安装配置了ImageMagick 6.9 .1但ImageMagick 6.8.9-9正在使用中。
Now gives me this error: This installation of RMagick was configured with ImageMagick 6.9.1 but ImageMagick 6.8.9-9 is in use.
推荐答案
我遇到了同样的问题,我修复了更新rmagick 。我做的是:
I had the same problem and I fixed it up updating rmagick. What I did was:
sudo apt-get install libmagickwand-dev imagemagick
bundle update rmagick
现在捆绑工作正常。
这篇关于找不到魔杖/ MagickWand.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!