Forum: Ruby Help with fcgi installation

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
753eea12c847b16e7d0bdb2c5a385304?d=identicon&s=25 Francis Vidal (Guest)
on 2005-12-15 17:15
(Received via mailing list)
Hi,

I'm trying to install fcgi-0.8.6 on Mac OS X but I keep getting this
error:

install.rb: entering config phase...
---> lib
<--- lib
---> ext
---> ext/fcgi
/usr/bin/ruby /usr/local/src/ruby-fcgi-0.8.6/ext/fcgi/extconf.rb
can't find header files for ruby.
config failed
'system /usr/bin/ruby
/usr/local/src/ruby-fcgi-0.8.6/ext/fcgi/extconf.rb ' failed
A52b0e1c5d982f2512a03c5dbfd033d6?d=identicon&s=25 Dick Davies (Guest)
on 2005-12-15 17:30
(Received via mailing list)
On 15/12/05, Francis Vidal <francisv.list@gmail.com> wrote:
> can't find header files for ruby.
Sounds like that's the problem - you should have a ruby.h file
(among others). Google seems to think you should install the
XCode development stuff.
753eea12c847b16e7d0bdb2c5a385304?d=identicon&s=25 Francis Vidal (Guest)
on 2005-12-16 07:21
(Received via mailing list)
I have XCode 2.1 installed already. Where do I find the location of
ruby.h if XCode tools is already installed?
Fe9b2d0628c0943af374b2fe5b320a82?d=identicon&s=25 Eero Saynatkari (rue)
on 2005-12-16 19:51
Francis Vidal wrote:
> I have XCode 2.1 installed already. Where do I find the location of
> ruby.h if XCode tools is already installed?

I do not know how OSX works, so try the *x way;
open a console and type in:

  find / -iname 'ruby.h'

It tries to locate the file in any directory
under the root. If the file is found, you will
see its location. You can then provide this
location to extconf.

If the file is not found, you must look for
some sort of alternative 'development' package
(or you could use Fink or DarwinPorts) to get
the headers.


E
753eea12c847b16e7d0bdb2c5a385304?d=identicon&s=25 Francis Vidal (Guest)
on 2005-12-19 04:42
(Received via mailing list)
Thanks Eero, I was able to install it finally.
This topic is locked and can not be replied to.