joyent/node — Issue #2484: node 0.6.7 and CentOS 5.x
Author: yeysus
Created: 2012-01-08 10:08:50+00:00
State: open

Hi. By definition, node 0.6.7 cannot be built on CentOS 5.x since node requires python >= 2.5.2, CentOS 5.x comes with Python 2.4.3. There may be (I think there are) other problems. CentOS 6.2 works. Is there a chance of adding an argument to configure like --with-python=/path/to/non-standard/python or other arguments, so it works with CentOS 5.x? Below the error message I receive after starting make, in a virgin CentOS 5.7, node 0.6.7. Thanks.

src/unix/core.c: In function uv__accept:
src/unix/core.c:739: error: SOCK_NONBLOCK undeclared (first use in this function)
src/unix/core.c:739: error: (Each undeclared identifier is reported only once
src/unix/core.c:739: error: for each function it appears in.)
src/unix/core.c:739: error: âSOCK_CLOEXECâ undeclared (first use in this function)
make[1]: *** [src/unix/core.o] Error 1
make[1]: Leaving directory `/opt/node-v0.6.7/out/Release/deps/uv'
Waf: Leaving directory `/opt/node-v0.6.7/out'
Build failed: -> task failed (err #2):
{task: uv uv.h -> uv.a}
make: *** [program] Error 1