From: Jatinder Singh Date: 2006-06-07T21:36:04+09:00 Subject: Re: Installation of Win32-service module ------=_Part_1823_27591554.1149683761157 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I understand that "Cl" is the MSVC++ command line compiler, which looks like is not installed on my pc. is this a pre-requisite for using win32-service module? I downloaded InstantRails which provides ruby,rails, apache and mysql; I found that the ruby provided by InstantRails comes with win32-service module, I tried using it by running daemon_test.rb and bingo, it ran fine. Now I dont want to depend on InstantRails, instead I would like to install win32-service module in a version of ruby which does not have win32-service module; for that do I need to have MS VC++, nmake utility on my machine? Thanks and Regards Jatinder On 6/7/06, Jatinder Singh wrote: > > Hi Park, > > I get following error message when I run "nmake install", > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > D:\ruby\bin\ruby -e "puts 'EXPORTS', 'Init_service'" > > service-i386-msw > in32.def > cl -nologo -MD -Zi -O2b2xg- -G6 -I. > -ID:/ruby/lib/ruby/1.8/i386-mswin32 > -ID:/ruby/lib/ruby/1.8/i386-mswin32 -I. -c - Tcservice.c > 'cl' is not recognized as an internal or external command, > operable program or batch file. > NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code > '0x1' > Stop. > after running nmake i confirmed that win32-service has not been installed. > > your help is appreciated. > > Regards, > Jatinder > > > On 6/7/06, Park Heesob wrote: > > > > > > Hi, > > > > >From: "Jatinder Singh" > > >Reply-To: ruby-talk@ruby-lang.org > > >To: ruby-talk@ruby-lang.org (ruby-talk ML) > > >Subject: Installation of Win32-service module > > >Date: Wed, 7 Jun 2006 12:34:36 +0900 > > > > > >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 > > > > > > > > > Above is normal message for Visual C++ 6.0. > > EnumServicesStatusEx and QueryServiceStatusEx added for Visual C++ 7.0or > > higher. > > > > > > > >I verified by running daemon_test.rb program that Win32-service was not > > >installed. > > > > After "ruby extconf.rb" > > You must run "nmake install" to complete installation. > > Then verify by running deamon_test.rb > > > > Regards, > > > > Park Heesob > > > > > > > > > ------=_Part_1823_27591554.1149683761157--