From: Jatinder Singh Date: 2006-06-07T12:34:36+09:00 Subject: Installation of Win32-service module ------=_Part_102505_30949128.1149651271554 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I intend to use Win32-service module to perform some operations with Windows services. I downloaded win32-service-0.5.0 from Rubyforge and referring README, when I try to install this module by issuing "ruby extconf.rb" which results in following messages on console, checking for EnumServicesStatusEx()... no checking for QueryServiceStatusEx()... no creating Makefile mkmf.log file gets generated with following contents, have_func: checking for EnumServicesStatusEx()... -------------------- no "cl -nologo -Feconftest -I. -ID:/ruby/lib/ruby/1.8/i386-mswin32 -MD -Zi -O2b2xg- -G6 conftest.c msvcrt-ruby18-static.lib oldnames.lib user32.lib advapi32.lib wsock32.lib -link -libpath:"D:/ruby/lib" -stack:0x2000000" checked program was: /* begin */ /*top*/ int main() { return 0; } int t() { EnumServicesStatusEx(); return 0; } /* end */ "cl -nologo -Feconftest -I. -ID:/ruby/lib/ruby/1.8/i386-mswin32 -MD -Zi -O2b2xg- -G6 conftest.c msvcrt-ruby18-static.lib oldnames.lib user32.lib advapi32.lib wsock32.lib -link -libpath:"D:/ruby/lib" -stack:0x2000000" checked program was: /* begin */ #include #include /*top*/ int main() { return 0; } int t() { void ((*volatile p)()); p = (void ((*)()))EnumServicesStatusEx; return 0; } /* end */ -------------------- have_func: checking for QueryServiceStatusEx()... -------------------- no "cl -nologo -Feconftest -I. -ID:/ruby/lib/ruby/1.8/i386-mswin32 -MD -Zi -O2b2xg- -G6 conftest.c msvcrt-ruby18-static.lib oldnames.lib user32.lib advapi32.lib wsock32.lib -link -libpath:"D:/ruby/lib" -stack:0x2000000" checked program was: /* begin */ /*top*/ int main() { return 0; } int t() { QueryServiceStatusEx(); return 0; } /* end */ "cl -nologo -Feconftest -I. -ID:/ruby/lib/ruby/1.8/i386-mswin32 -MD -Zi -O2b2xg- -G6 conftest.c msvcrt-ruby18-static.lib oldnames.lib user32.lib advapi32.lib wsock32.lib -link -libpath:"D:/ruby/lib" -stack:0x2000000" checked program was: /* begin */ #include #include /*top*/ int main() { return 0; } int t() { void ((*volatile p)()); p = (void ((*)()))QueryServiceStatusEx; return 0; } /* end */ -------------------- I verified by running daemon_test.rb program that Win32-service was not installed. I have ruby 1.8.4(2005-12-24) installed on my machine. Please help me out with the above issue. Thanks in Advance, Jatinder ------=_Part_102505_30949128.1149651271554--