I'm trying to get the fcgi gem installed. I get the error below. Just setting up my account. I want to use fcgi to improve Ruby script performance without a Rails deployment (for now). Any help appreciated.
- Tony
gem install fcgi -i ~/.gems
Building native extensions. This could take a while...
ERROR: Error installing fcgi:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install fcgi -i /home/textflo/.gems
checking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
*** 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
--with-fcgi-dir
--without-fcgi-dir
--with-fcgi-include
--without-fcgi-include=${fcgi-dir}/include
--with-fcgi-lib
--without-fcgi-lib=${fcgi-dir}/lib
Gem files will remain installed in /home/textflo/.gems/gems/fcgi-0.8.7 for inspection.
Results logged to /home/textflo/.gems/gems/fcgi-0.8.7/ext/fcgi/gem_make.out
textflo@textflows.com [~]# cat /home/textflo/.gems/gems/fcgi-0.8.7/ext/fcgi/gem_make.out
/usr/local/bin/ruby extconf.rb install fcgi -i /home/textflo/.gems
checking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
*** 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
--with-fcgi-dir
--without-fcgi-dir
--with-fcgi-include
--without-fcgi-include=${fcgi-dir}/include
--with-fcgi-lib
--without-fcgi-lib=${fcgi-dir}/lib
2008-09-25 04:58 PM
http://www.tonyconfrey.nethttp://www.textflows.com