W
w wg
Hi,
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:
--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/ruby18
--with-gd-dir
--without-gd-dir
--with-gd-include
--without-gd-include=${gd-dir}/include
--with-gd-lib
--without-gd-lib=${gd-dir}/lib
--with-xpm
--without-xpm
--with-jpeg
--without-jpeg
--with-ttf
--without-ttf
--with-xpm
--without-xpm
--with-freetype
--without-freetype
--with-zlib
--without-zlib
--with-pnglib
--without-pnglib
--with-gdlib
--without-gdlib
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 /usr/local/lib/ruby/gems/1.8/gems/ruby-gd-0.7.4/gem_make.out
Please help me, thank you.
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:
--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/ruby18
--with-gd-dir
--without-gd-dir
--with-gd-include
--without-gd-include=${gd-dir}/include
--with-gd-lib
--without-gd-lib=${gd-dir}/lib
--with-xpm
--without-xpm
--with-jpeg
--without-jpeg
--with-ttf
--without-ttf
--with-xpm
--without-xpm
--with-freetype
--without-freetype
--with-zlib
--without-zlib
--with-pnglib
--without-pnglib
--with-gdlib
--without-gdlib
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 /usr/local/lib/ruby/gems/1.8/gems/ruby-gd-0.7.4/gem_make.out
Please help me, thank you.