From: Daniel Berger Date: 2005-09-11T02:21:31+09:00 Subject: Problems building Ruby from source on Windows Hi all, Windows XP Pro C:\ruby>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86 I'm having trouble building Ruby from source on my Windows box. I've tried the latest stable snapshot (Sept. 10, 2005) and 1.8.3p1. In the case of 1.8.3p1, cl.exe hangs indefinitely trying to build parse.c. In the case of the snapshot, it dies with this error during nmake: cl -nologo -MD -Zi -O2b2xg- -G6 -DRUBY_EXPORT -I. -I. -I./missing -c -Tcdmyext.c dmyext.c lib -nologo -machine:x86 -out:msvcr71-ruby18-static.lib array.obj bignum.obj class.obj compar.obj dir.obj dln.obj enum.obj error.obj eval.obj file.obj gc.obj hash.obj inits.obj io.obj marshal.obj math.obj numeric.obj object.obj pack.obj parse.obj process.obj prec.obj random.obj range.obj re.obj regex.obj ruby.obj signal.obj sprintf.obj st.obj string.obj struct.obj time.obj util.obj variable.obj version.obj acosh.obj crypt.obj erf.obj win32.obj dmyext.obj 'lib' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'lib' : return code '0x1' As per the instructions, I ran win32\configure.bat, then nmake. I also tried tweaking the prefix, but that made no difference. What am I doing wrong? Regards, Dan