I have downloaded win32serial-0.5 and am trying to install in a Windows
XP machine. The readme file list the following steps:
[How to install]
unzip win32serial-x.x.zip
ruby extconf.rb
make (or nmake)
make install
From a WindowsCommand prompt:
Steps 1. and 2. are no problem.
Step 3 gives me an error:
‘make’ is not recognized as an internal or external command,
operable program or batch file.
Please help. I could do what I need to do in Visual Basic, but am
trying to convert to Ruby and REALLY want to go with Ruby.
I tried that with no luck. Wondering, should I be extracting to a
certain directory? I’m just extracting the files to my c:ruby
directory. The extraction tool actually puts them in
c:\ruby\win32serial. I run the extconf.rb file and get “creating
makefile” so that appears to work. But after that I’m in trouble
doing a make or nmake. Should there be more the the command ‘make’
like ruby or a directory designation?
Thanks for the help. I got nmake installed in the c:\ruby\bin
directory. I then went to the directory where the application was
downloaded to: c:\ruby\win32serial and ran nmake. It appeared to work.
I then did the following which I’ll paste below. Notice at the end I
get an error and the code appears to stop.
-Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -
MD -Zi -O2b2xg- -G6 -c -Tcrb_serial_wrapper.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.
I"m using ruby 1.8.5. Is there should I be trying to install to a
particular directory/path??