It seems like you need ruby-dev installed.

On Feb 23, 7:14 am, shyam mohan <[email protected]> wrote:
> Hi all
> When i use this
> rake gems:install
> i face this problem
>
> [r...@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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to