node.js on Windows 7
By Dan Baker, published 2010-09-10
Well, it wasn't as easy getting node.js to compile on my Windows 7 box... I followed my own instructions here. I installed cygwin on my D: drive. When I ran "./configure", I got a series of errors. The FIRST error was something like:Checking for program gcc or cc : /usr/bin/gcc 0 [main] python 3968 C:\cygwin\bin\python.exe: *** fatal error - unable to remap \\?\D:\cygwin\lib\python2.6\lib-dynload\time.dll to same address as parent: 0x360000 != 0x3E0000 After lots of googling, I discovered I needed to "rebase". After more googling and trying various things ... I discovered the magic code. It is as follows: To "rebaseall" my cygwin: - close cygwin
- open dos box to ...\cygwin\bin
- "ash rebaseall"
- close dos box
- re-run cygwin
- cd node
- ./configure (cross fingers, wait ... "SUCCESS", whew!)