Saturday, 15 August 2015

ruby on rails - Getting error while installing rmagick gem -


I am installing Gem Rmagick in Ubuntu 14.04 OS, but I get an error,

 Creating native extensions can take some time ... Error: Error installing rmagick: Error: Failed to create gem country extension /home/jignesh/.rvm/rubies/ruby-2.1.5/bin/ruby-r/siteconf20150317-9073-18x8ncb.rb Ruby version for extconf.rb check & gt; = 1.8.5 ... checking for GCC ... Yes checking for Magic-config ... Yes checking for ImageMagic version & gt; = 6.4.9 ... checking for stdint.h ... yes, checking for sys / types.h ... yes check the stick / magic wand h ... any ramagic 2.13 Can not install .4 can not get MagickWand.h *** extconf.rb failed *** Could not make Makefile due to some reason, maybe lack of required libraries and / or headers for more information mkmf.log file let's check. You may need a configuration option. Configurable options available: - With-Opt-Direction - Without - OPTION DIRECTION - OP-IN - WITHOUT OPTION = $ {opt-dir} / include --with-opt-lib-without-opt-in -lib = $ {opt-dir} / lib - with-makeup -pag - without-make-handling --srcdir =. --curdir --ruby = / home / jignesh / .rvm / rubies / ruby-2.1.5 / bin / ruby ​​extconf failed, exit code1  

I have given several solutions On Stackoverflow as well as on other sites, but no one did not work for me.

So please provide me the solution Thanks in advance.

You should install the magickwand package to fix this problem:

  install sudo apt-get libmagickwand-dev  

No comments:

Post a Comment