News for hackers. Stuff that matters.
Re:First "official" NodeJS build on Windows by rbanffy on Wednesday July 20, 2011 @07:06AM (#2784992)
Unless you are deploying on Windows, why not run it under cygwin? You may end up with a lot of silly problems with file paths, case insensitivity and any other "impedance mismatch" between your development environment and whatever server the workload will run on.

I did a lot of Django development on Windows and Cygwin saved me a whole lot of pain.

Re:First "official" NodeJS build on Windows by tildedave on Wednesday July 20, 2011 @07:11AM (#2785007)
In my opinion, if you are developing for a Linux deployment on Windows it's easier to use VirtualBox to host a Linux OS.

(That goes out the window if you are talking about performance testing of course.)

Re:First "official" NodeJS build on Windows by rbanffy on Wednesday July 20, 2011 @07:25AM (#2785038)
My first corporate issued laptop wasn't beefy enough to run Linux under a VM. Besides, it's convenient to have everything under one file space (moving things to and from the VM tends to be a pain - and if you get your email on Windows, important files will be, more often than not - on the wrong side). Add to that the fact Cygwin gives Windows a bunch of nice tools, langauges and a decent shell and windowed console.
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?