I have successfully installed the following components in my centos
server:
Ruby 1.8.7
Rails 2.3.8
Gem 1.3.7
paperclip --version ''>= 2.3.3''
will_paginate --version ''>= 2.3.15''
tlsmail --version ''>= 0.0.1''
but facing problem at the time of installation of
rmagick --version ''>= 2.13.1''
When I go for installation by using the " gem install rmagick --
version ''>= 2.13.1'' " command, I am getting the
following error:
ERROR
==============================================================================
[root@ip-173-201-26-65 download]# gem install rmagick --version
''>2.13.1''
Building native extensions. This could take a while...
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.13.1. Can''t find Magick-config in
/usr/
kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/
local /bin:/sbin:/bin:/usr/sbin:/usr/
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.13.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/
RMagick/gem_make.out
===============================================================================
So pls guide us to install the rmagic gem installation in CENTOS.
--
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.
Frederick Cheung
2010-Oct-13 13:54 UTC
Re: Installation of rmagick --version ''>= 2.13.1'' on CENTOS
On 13 Oct, 11:04, CKS <cksmai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have successfully installed the following components in my centos > server: > > Ruby 1.8.7 > Rails 2.3.8 > Gem 1.3.7 > > paperclip --version ''>= 2.3.3'' > will_paginate --version ''>= 2.3.15'' > tlsmail --version ''>= 0.0.1'' > > but facing problem at the time of installation of > > rmagick --version ''>= 2.13.1'' >Looks like you don''t have imagemagick installed Fred> When I go for installation by using the " gem install rmagick -- > version ''>= 2.13.1'' " command, I am getting the following error: > > ERROR > =========================================================================== ===> > [root@ip-173-201-26-65download]# gem install rmagick --version ''>> 2.13.1'' > Building native extensions. This could take a while... > 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.13.1. Can''t find Magick-config in /usr/ > kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/ > local /bin:/sbin:/bin:/usr/sbin:/usr/ > 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.13.1 for inspection. > Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/ > RMagick/gem_make.out > > =========================================================================== ====> > So pls guide us to install the rmagic gem installation in CENTOS.-- 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.