From: thufir Date: 2012-03-22T21:57:35+09:00 Subject: Re: gem install rmagick requires imagemagick On Thu, 22 Mar 2012 21:44:18 +0900, thufir wrote: > thufir@dur:~$ gem install rmagick --no-rdoc --no-ri Building native > extensions. This could take a while... ERROR: Error installing > rmagick: > ERROR: Failed to build gem native extension. Similar but different result for another gem: thufir@dur:~$ thufir@dur:~$ thufir@dur:~$ whereis curl curl: /usr/bin/curl /usr/share/man/man1/curl.1.gz thufir@dur:~$ thufir@dur:~$ gem install feedzirra --no-rdoc --no-ri Building native extensions. This could take a while... ERROR: Error installing feedzirra: ERROR: Failed to build gem native extension. /home/thufir/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb checking for curl-config... no checking for main() in -lcurl... no *** 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=/home/thufir/.rvm/rubies/ruby-1.9.3-p125/bin/ruby --with-curl-dir --without-curl-dir --with-curl-include --without-curl-include=${curl-dir}/include --with-curl-lib --without-curl-lib=${curl-dir}/lib --with-curllib --without-curllib extconf.rb:23:in `
': Can't find libcurl or curl/curl.h (RuntimeError) Try passing --with-curl-dir or --with-curl-lib and --with-curl-include options to extconf. Gem files will remain installed in /home/thufir/.rvm/gems/ruby-1.9.3-p125/ gems/curb-0.7.18 for inspection. Results logged to /home/thufir/.rvm/gems/ruby-1.9.3-p125/gems/curb-0.7.18/ ext/gem_make.out thufir@dur:~$ thufir@dur:~$ Sigh. Do I have to re-install ruby or something? Or are these gems the problem? Seems more likely that my computer is, though. -Thufir