I installed the ruby-gd like so:
gem install ruby-gd
[root@rj-bsd /var/www/rjinfo.com]# gem install ruby-gd
Attempting local installation of ‘ruby-gd’
Local gem file not found: ruby-gd*.gem
Attempting remote installation of ‘ruby-gd’
Building native extensions. This could take a while…
*** 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:
ERROR: While executing gem … (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/ruby-gd-0.7.4 for inspection.
ruby extconf.rb install ruby-gd\nchecking for main() in -lz… yes
checking for main() in -lpng… yes
checking for gdImagePng() in -lgd… no
Results logged to
Please help me, thank you.