2010/11/5 Gustavo Courault <[email protected]>:
>
> Instalé el DevKit 4.5.0
> Cuando le doy
> gem install win32-service obtengo lo siguiente:
>
> C:/Ruby/bin/ruby.exe extconf.rb
> checking for RegisterServiceCtrlHandlerEx()... yes
> creating Makefile
>
> make
> gcc -I. -I. -IC:/Ruby/lib/ruby/1.8/i386-mingw32 -I. 
> -DHAVE_REGISTERSERVICECTRLHA
> NDLEREX    -g -O2 -DFD_SETSIZE=256    -c win32/daemon.c
> win32/daemon.c: In function 'Ruby_Service_Ctrl':
> win32/daemon.c:141:7: error: '__try' undeclared (first use in this function)
> win32/daemon.c:141:7: note: each undeclared identifier is reported only once 
> for
>  each function it appears in
> win32/daemon.c:142:7: error: expected ';' before '{' token
> win32/daemon.c: In function 'Service_Ctrl':
> win32/daemon.c:199:4: error: '__try' undeclared (first use in this function)
> win32/daemon.c:200:4: error: expected ';' before '{' token
> make: *** [daemon.o] Error 1
>
>
> Probé antes con el DevKit 3.4.5 con el mismo error.
>
> ¿Què me falta instalar?

Uh, me olvide de que win32-service nunca fue actualizado. Ya mismo le
abro un issue al autor para que large una nueva version de la gema.

Por favor, hace lo siguiente: no instales win32-service. Deinstalá
mongrel_service (si esta instalado) e instala la version beta:

gem install mongrel_service --pre

Eso va a remover la dependencia en win32-service y tendria que
funcionar sin problemas.

Te pido disculpas por no darme cuenta del detalle antes y hacerte
perder tu tiempo.

Por favor avisame cualquier cosa.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar

Responder a