[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ruby1.9 and fcgi

Rolando Abarca

11/20/2007 4:46:00 PM

I'm testing some web applications (not rails) that use ruby-fcgi with
current trunk version of ruby1.9 (btw, I'm glad to see now, that gem
is included as a part of ruby :-D).
Well, the thing is, that when trying to install fcgi using gem, this
is what I get:

gcc -I. -I/opt/ruby1.9/include/ruby-1.9/i686-darwin9.0.0 -I/opt/
ruby1.9/include/ruby-1.9 -I. -DHAVE_FCGIAPP_H -fno-common -g -O2 -
pipe -fno-common -c fcgi.c
fcgi.c: In function 'fcgi_stream_write':
fcgi.c:225: error: 'struct RString' has no member named 'ptr'
fcgi.c:225: error: 'struct RString' has no member named 'len'
fcgi.c: In function 'fcgi_stream_puts':
fcgi.c:308: error: 'struct RString' has no member named 'ptr'
fcgi.c:308: error: 'struct RString' has no member named 'len'
fcgi.c: In function 'fcgi_stream_gets':
fcgi.c:382: error: 'struct RString' has no member named 'len'
make: *** [fcgi.o] Error 1

Apparently fcgi is trying to access some struct members that have
changed in Ruby 1.9. Before digging into the fcgi gem, does anyone
know if the mantainer of this gem is working in ruby1.9 support?

regards,
--
Rolando Abarca
Phone: +56-9 97851962



1 Answer

Rolando Abarca

11/20/2007 4:54:00 PM

0

On Nov 20, 2007, at 1:46 PM, Rolando Abarca wrote:

> Apparently fcgi is trying to access some struct members that have
> changed in Ruby 1.9. Before digging into the fcgi gem, does anyone
> know if the mantainer of this gem is working in ruby1.9 support?

nevermind... it was an easy fix :-P
I'll send the patches to the ruby-fcgi mantainers.

regards,
--
Rolando Abarca
Phone: +56-9 97851962