我已经将我的系统更新到Ubuntu 15.04,现在Rmagick无法安装...
它给出了以下错误:
$ 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等,我已经尝试了其他问题中描述的所有包)
是不是有人也有同样的问题?有什么线索吗?
在更新到15.04之前,一切运行正常
编辑我设法让它工作清除imagemagick和安装从源http://www.imagemagick.org/script/install-source.php?ImageMagick=9s6tlikqbn5eb0u0spg5o38sa4#unix
现在给我这个错误:这个RMagick安装是用ImageMagick 6.9.1配置的,但ImageMagick 6.8.9-9正在使用中。
发布于 2015-05-05 22:15:18
我也有同样的问题,我在更新rmagick的时候修复了它。我所做的是:
sudo apt-get install libmagickwand-dev imagemagick
bundle update rmagick现在捆绑包可以正常工作了。
发布于 2015-06-28 20:14:54
我在ubuntu 15.04上,可以通过指定rmagick的版本来获得它
gem 'rmagick', '2.15.0'发布于 2015-05-03 13:20:23
我在安装干净的Ubuntu 15.4时遇到了同样的问题。帮助您将rmagick从2.13.2升级到2.15.0。
我试过的东西,都没有用:
将
magick_wand.h;/usr/include/wand MagickWand.h⇒手动符号链接回libmagickcore-dev.希望能有所帮助。
https://stackoverflow.com/questions/29914304
复制相似问题