News for hackers. Stuff that matters.
Re:First "official" NodeJS build on Windows by RyanMcGreal on Wednesday July 20, 2011 @09:18AM (#2785340)
I just tried to install node on cygwin and it failed with this error:

------

src/uv-cygwin.c:33: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)

src/uv-cygwin.c:33: error: (Each undeclared identifier is reported only once

src/uv-cygwin.c:33: error: for each function it appears in.)

make[1]: * [src/uv-platform.o] Error 1

Re:First "official" NodeJS build on Windows by bnoordhuis on Wednesday July 20, 2011 @12:19PM (#2786248)
It's been fixed in master. 0.5.2 comes out tomorrow (if all goes well) and will also contain the fix.

https://github.com/joyent/libuv/issues/112 for details.

Re:First "official" NodeJS build on Windows by RyanMcGreal on Thursday July 21, 2011 @10:01AM (#2789511)
Thank you - that's great news. I'll keep an eye out for it.
Re:First "official" NodeJS build on Windows by klaruz on Wednesday July 20, 2011 @09:53AM (#2785515)
I think you need cygwin 1.7.6 or newer to support CLOCK_MONOTONIC: http://www.cygwin.com/cygwin-ug-net/ov-new1.7.html
Re:First "official" NodeJS build on Windows by jjm on Wednesday July 20, 2011 @12:54PM (#2786434)
Just a note, I use Node across Linux, OSX, and Cygwin on windows. I have zero problems with a NPM lib of 40+ modules. Everything from connect to bcrypt.
Re:First "official" NodeJS build on Windows by rbanffy on Wednesday July 20, 2011 @09:25AM (#2785368)
I have abandoned Windows again a couple years back, but, from my experience, most stuff that compiles cleanly under Linux, compiles cleanly under Cygwin. Do you have the required libraries? What did configure say? Can you try an older version (one known to work) to see if it compiles?