views:

36

answers:

2

I know this has been asked before but I ran into a specific problem.

I'm trying to build ruby 1.9.2 rc2 on windows 7. When I run configure.bat it aborts with the following message.

cl -nologo -MD rtname.c user32.lib -link > nul
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

I find that the file 'rtname.c' does not exist anywhere within the source files. And this is why cl aborts.

I'm totally clueless as to what to do next. Searching for rtname.c on google doesn't return anything.

A: 

Maybe Visual Studio is required in your case to build Ruby from sources on Windows, but why don't you use RubyInstaller instead? It is a nice build environment; you can compile any version of Ruby on your machine, even from TRUNK.

floatless
A: 

If I understand it correctly you must have the C++ compiler installed to build Ruby. Could it be that you are missing that?

The RubyInstaller is quite stable and works most times.

Gargamel