Hi all When i use this rake gems:install i face this problem [root@localhost trunk]# *rake gems:install* (in /root/shyam/trunk) gem install rmagick --version ">= 2.9.1" ERROR: Error installing rmagick: 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 2.12.2. Can''t find Magick-config in /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/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=/usr/local/bin/ruby Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.12.2 for inspection. Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out Building native extensions. This could take a while... Loaded suite /usr/local/bin/rake Started Finished in 0.000174 seconds. 0 tests, 0 assertions, 0 failures, 0 errors Please Tell me what to do..? Regards, Shyam +91-971-618-9650 http://sites.google.com/site/shyammohankanojia/cv -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Feb 23, 2010, at 7:14 AM, shyam mohan wrote:> checking for gcc... yes > checking for Magick-config... no > > > Can''t install RMagick 2.12.2. Can''t find Magick-config in /usr/ > kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/ > sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/binAre you sure that you''ve already installed ImageMagick including the development headers? -Rob Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
roland.mai-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2010-Feb-23 13:18 UTC
Re: Can''t install RMagick 2.12.2
It seems like you need ruby-dev installed. On Feb 23, 7:14 am, shyam mohan <shyammohankano...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all > When i use this > rake gems:install > i face this problem > > [root@localhost trunk]# *rake gems:install* > > (in /root/shyam/trunk) > gem install rmagick --version ">= 2.9.1" > ERROR: Error installing rmagick: > > 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 2.12.2. Can''t find Magick-config in > /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/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=/usr/local/bin/ruby > > Gem files will remain installed in > /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.12.2 for inspection. > Results logged to > /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out > Building native extensions. This could take a while... > Loaded suite /usr/local/bin/rake > Started > > Finished in 0.000174 seconds. > > 0 tests, 0 assertions, 0 failures, 0 errors > > Please > Tell me what to do..? > > Regards, > Shyam > +91-971-618-9650http://sites.google.com/site/shyammohankanojia/cv-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
r magick is available with imagemagick with pretty much given instructions go here : http://rubyforge.org/frs/?group_id=12&release_id=42049 Download this : RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip<http://rubyforge.org/frs/download.php/64917/RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip> or yours choice..it is depends on// then GoTo : http://rmagick.rubyforge.org/install-faq.html search Index to Questions on yours Os it works that''s it On Tue, Feb 23, 2010 at 5:44 PM, shyam mohan <shyammohankanojia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Hi all > When i use this > rake gems:install > i face this problem > > > [root@localhost trunk]# *rake gems:install* > > > (in /root/shyam/trunk) > > gem install rmagick --version ">= 2.9.1" > > ERROR: Error installing rmagick: > > > 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 2.12.2. Can''t find Magick-config in /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/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=/usr/local/bin/ruby > > > > Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.12.2 for inspection. > > Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out > > Building native extensions. This could take a while... > > Loaded suite /usr/local/bin/rake > > Started > > Finished in 0.000174 seconds. > > > 0 tests, 0 assertions, 0 failures, 0 errors > > > > > Please > Tell me what to do..? > > Regards, > Shyam > +91-971-618-9650 > http://sites.google.com/site/shyammohankanojia/cv > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- Thanks: Rajeev sharma -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.