PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > ruby1.9 and fcgi
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ruby1.9 and fcgi

Réponse
 
LinkBack Outils de la discussion
Vieux 20/11/2007, 16h46   #1
Rolando Abarca
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ruby1.9 and fcgi

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



  Réponse avec citation
Vieux 20/11/2007, 16h53   #2
Rolando Abarca
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby1.9 and fcgi

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



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h33.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,06828 seconds with 10 queries