From: Javier Abaroa Date: 2010-03-29T21:20:42+09:00 Subject: Install fcgi 0.8.8 on Ruby-1.8 Hello, I have tried to install the gem fcgi-0.8.8 for Ruby on Windows-Xp. I have installed Fastcgi Development Kit on C:\fcgi directory and i have compiled the source. The source for fcgi is in "C:\fcgi\include" directory , and the libfcgi.dll is in "c:\fcgi\libfcgi\release" directory. When i try to install fcgi gem for ruby , i get the next error: C:\Documents and Settings\USER>gem install fcgi -v 0.8.8 -- --with-fcgi-include=c:/fcgi/include --with-fcgi-lib=c:/fcgi/libfcgi/release --remote Building native extensions. This could take a while... ERROR: Error installing fcgi: ERROR: Failed to build gem native extension. C:/Ruby/bin/ruby.exe extconf.rb --with-fcgi-include=c:/fcgi/include --with-fcgi-lib=c:/fcgi/libfcgi/release --remote checking for fcgiapp.h... yes checking for FCGX_Accept() in -lfcgi... yes creating Makefile make gcc -I. -I. -IC:/Ruby/lib/ruby/1.8/i386-mingw32 -I. -DHAVE_FCGIAPP_H -Ic:/fcgi/include -g -O2 -c fcgi.c fcgi.c: In function `fcgi_s_accept': fcgi.c:82: error: `F_GETFL' undeclared (first use in this function) fcgi.c:82: error: (Each undeclared identifier is reported only once fcgi.c:82: error: for each function it appears in.) make: *** [fcgi.o] Error 1 Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.8/gems/fcgi-0.8.8 for inspection. Results logged to C:/Ruby/lib/ruby/gems/1.8/gems/fcgi-0.8.8/ext/fcgi/gem_make.out C:\Documents and Settings\USER> So, i think i have missed any other global option for install the gem.I don't know why the F_GETFL (function or variable) is undeclared. Can someone help me?. Thank you Javier Abaroa. -- Posted via http://www.ruby-forum.com/.