Thank you so much for your fast reply!
Heesob P. wrote in post #957790:
I guess you mean the following message:
cl -nologo -MD rtname.c user32.lib -link > nul
NMAKE : fatal error U1077: ‘cl’ : return code ‘0x2’
The error means that you did not install Platform SDK.
You must install Microsoft Windows SDK for Windows 7 and .NET Framework
Refer to http://en.wikipedia.org/wiki/Microsoft_Windows_SDK
Actually I already have put all these SDKs in place and set the correct
Lib, Include and Path Environment Variables. After trying to understand
the build process of win32 a little bit, I found that there is something
strange with win32\setup.mak
In line 79 there is the following line:
$(CC) -MD <<rtname.c user32.lib -link > nul
After removing the redirect “> nul” it immediately compiled everything
and even the test-all target was execute with only minor problems
(around 49 fails). Rubyspec is actually hanging at the Kernel.spawn task
but this is another thing.
I have to admit I’m still not complete understand the behavior, I expect
this was just a symptom but not the real reason, cause otherwise this
would be fixed a long time ago.
I’m quite confident that all the things (cl, bison, sed, libs and
includes) are in place but something has to be wrong with my setup due
to the reason that I can’t even configure the trunk without patching
setup.mak. Any clue everyone? Is actually someone using win32 or is
mingw32 the way everyone else is going?
Thanks for any feedback!