Error Failed To Build Gem Native Extension. Rmagick Ubuntu
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might error installing rails failed to build gem native extension ubuntu have Meta Discuss the workings and policies of this site error failed to build gem native extension mac About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting error failed to build gem native extension windows ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7
Error Failed To Build Gem Native Extension Compass
million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Installing rmagick gem on ubuntu 14.04 up vote 11 down vote favorite 3 I'm trying to deploy an app on OpsWorks, but there are problems with installing rmagick gem. I have the following OS packages: libmagickwand-dev imagemagick libmagickcore-dev error failed to build gem native extension osx Below is the log file with errors during deployment: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... no Can't install RMagick 0.0.0. Can't find Magick-config in /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games *** 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 --without-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=/usr/local/bin/ruby extconf failed, exit code 1 Gem files will remain installed in /home/deploy/.bundler/myapp/ruby/2.1.0/gems/rmagick-2.13.3 for inspection. Results logged to /home/deploy/.bundler/myapp/ruby/2.1.0/extensions/x86_64-linux/2.1.0/rmagick-2.13.3/gem_make.out An error occurred while installing rmagick (2.13.3), and Bundler cannot continue. Make sure that `gem install rmagick -v '2.13.3'` succeeds before bundling. STDERR: ---- End output of sudo su - deploy -c 'cd /srv/www/myapp/releases/20140929182350 && /usr/local/bin/bundle install --path /home/deploy/.bundler/myapp --without=test development' 2>&1 ---- Ran sudo su - deploy -c 'cd /srv/www/myapp/releases/20140929182350 && /usr/local/bin/bundle install --path /home/deploy/
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About error failed to build gem native extension windows 8 Us Learn more about Stack Overflow the company Business Learn more about hiring
Error Failed To Build Gem Native Extension Linux
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the
Error Failed To Build Gem Native Extension Jekyll
Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Ubuntu - cannot install RMagick [duplicate] http://stackoverflow.com/questions/26106525/installing-rmagick-gem-on-ubuntu-14-04 up vote 7 down vote favorite 4 This question already has an answer here: Can't install RMagick with rbenv 1 answer How to install the RMagick gem to Ubuntu? I found a few threads here on SO, some of there directly pointed out to the installation on Ubuntu systems, but none of them is working for me. Here is the output that I got if I http://stackoverflow.com/questions/16376010/ubuntu-cannot-install-rmagick run sudo gem install rmagick Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /opt/bitnami/ruby/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... yes Warning: Found more than one ImageMagick installation. This could cause problems at runtime. /opt/bitnami/common/bin/Magick-config reports version 6.7.5 Q16 is installed in /opt/bitnami/common /usr/bin/Magick-config reports version 6.6.9 Q16 is installed in /usr Using 6.7.5 Q16 from /opt/bitnami/common. checking for ImageMagick version >= 6.4.9... yes checking for HDRI disabled version of ImageMagick... yes Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containing `MagickCore.pc' to the PKG_CONFIG_PATH environment variable No package 'MagickCore' found Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containing `MagickCore.pc' to the PKG_CONFIG_PATH environment variable No package 'MagickCore' found Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containing `MagickCore.pc' to the PKG_CONFIG_PATH environment variable No package 'MagickCore' found Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containing `MagickCore.pc' to the PKG_CONFIG_PATH environment vari
here for a quick overview of the site Help Center Detailed answers to any questions http://stackoverflow.com/questions/5201689/rmagick-gem-install-cant-find-magick-config you might have Meta Discuss the workings and policies of https://www.sharmaprakash.com.np/linux/install-rmagick-gem-in-ubuntu-painlessly/ this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a failed to community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up rmagick gem install “Can't find Magick-config” up vote 202 down vote favorite 48 I get the error shown below when attempting to install the rmagick gem. I am on Snowleopard 10.6 using RVM, failed to build Ruby 1.9.2-head and Rails 3.05. Responses to similar questions recommended installing ImageMagick, which I successfully did. Other suggested installing the "libmagick9-dev library", however, I can not figure out how to do this. I'm a new developer, and any assistance or directions to an existing explanation or resource is greatly appreciated. Thanks! jjdevenuta(opal)$ gem install rmagick Fetching: rmagick-2.13.1.gem (100%) Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /Users/jjdevenuta/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... no Can't install RMagick 2.13.1. Can't find Magick-config in /Users/jjdevenuta/.rvm/gems/ruby-1.9.2-head@rails3/bin:/Users/jjdevenuta/.rvm/gems/ruby-1.9.2-head@global/bin:/Users/jjdevenuta/.rvm/rubies/ruby-1.9.2-head/bin:/Users/jjdevenuta/.rvm/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/X11/bin *** 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 --without-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/jjdevenuta/.rvm/rubies/ruby-1.9.2-head/bin/ruby UPDATE If you're a Mac/OS X user I would
guess why you are here!what is the solution?Install imagemagick libraryInstall some more dependenciesInstall rmagick gemtl;dr for busy onessudo apt-get install graphicsmagick-libmagick-dev-compat sudo apt-get install imagemagick sudo apt-get install libmagickcore-dev sudo apt-get install libmagickwand-dev gem install rmagick Let me guess why you are here!You are about to install imagemagick gem in freshly setup laptop, and you try simple gem install imagemagick and currently your screen looks like this:$ gem install imagemagick Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /home/untoldstory/.rvm/rubies/ruby-2.1.1/bin/ruby -r ./siteconf20160226-5081-j6qfa7.rb extconf.rb checking for gcc... yes checking for Magick-config... no checking for pkg-config... yes Package MagickCore was not found in the pkg-config search path. Perhaps you should add the directory containing `MagickCore.pc' to the PKG_CONFIG_PATH environment variable No package 'MagickCore' found checking for outdated ImageMagick version (<= 6.4.9)... *** 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 --without-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=/home/untoldstory/.rvm/rubies/ruby-2.1.1/bin/ruby extconf failed, exit code 1 Gem files will remain installed in /home/untoldstory/.rv