On Fri, 11 Nov 2005, Mohammad Khan wrote:

> [root@www dhaka]# gem install fcgi
> Attempting local installation of 'fcgi'
> Local gem file not found: fcgi*.gem
> Attempting remote installation of 'fcgi'
> Updating Gem source index for: http://gems.rubyforge.org
> Building native extensions. This could take a while...
> can't find header files for ruby.
> ERROR: While executing gem ... (RuntimeError)
> ERROR: Failed to build gem native extension.
> Gem files will remain installed in
> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1<http://0.8.6.1>for
> inspection.
> ruby extconf.rb install fcgi\n
>
> Results logged to
> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ext/gem_make.out<http://0.8.6.1/ext/gem_make.out>
> [root@www dhaka]# rpm -qa | grep ruby
> ruby-1.8.3-2.fc3
> ruby-docs-1.8.3-2.fc3
> ruby-libs-1.8.3-2.fc3
> [root@www dhaka]#
>
> At what location gem is looking for ruby header files?
> Would anybody please show me right direction.
>
> Thanks,

have you installed the fastcgi library itself - not the ruby extenstion - the
fastcgi lib?

-a
-- 
===============================================================================
| ara [dot] t [dot] howard [at] gmail [dot] com
| all happiness comes from the desire for others to be happy.  all misery
| comes from the desire for oneself to be happy.
| -- bodhicaryavatara
===============================================================================