ruby1.9 and fcgi

R

Rolando Abarca

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,
 
R

Rolando Abarca

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top