[Win32utils-devel] Problem with win32-service

Nathaniel Talbott ntalbott at gmail.com
Wed Mar 16 11:12:56 EST 2005


It compiles fine, but when the resulting library is required, it says:

  C:\_co\source\build\ruby\extensions\win32-service-0.4.5\test>ruby tc_daemon.rb
  C:/_co/source/build/ruby/extensions/win32-service-0.4.5/win32/service.so:
`interactive?' is not proper name for a struct member (NameError)
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
        from tc_daemon.rb:14

ruby -v says:

  ruby 1.8.2 (2005-03-14) [i386-mswin32]

Looking at ruby CVS, it appears that this behavior was introduced to
struct.c on March 4th, and disallows adding members ending with a '?'
(as the error indicates). I'm going to patch this locally, but figured
you'd want to know.

Thanks

-- 
Nathaniel

<:((><


More information about the win32utils-devel mailing list