I am trying to create node.js on my Windows XP (yes, it hurts, thanks.) Using Cygwin, following Ryans instructions here .
Sadly calling "./configure" from the node source directory to do this:
$ ./configure
/home/LWE/sources/node.js/wscript: error: Traceback (most recent call last):
File "/home/LWE/sources/node.js/tools/wafadmin/Utils.py", line 274, in load_module
exec(compile(code, file_path, 'exec'), module.__dict__)
File "/home/LWE/sources/node.js/wscript", line 12, in <module>
import js2c
File "/home/LWE/sources/node.js/tools/js2c.py", line 35, in <module>
import jsmin
File "/home/LWE/sources/node.js/tools/jsmin.py", line 1
../deps/v8/tools/jsmin.py
^
SyntaxError: invalid syntax
I'm absolutely not in Python, so it's hard for me to figure this out. Am I missing some kind of addiction or what?
I would expect that there is a small simple configuration switch that I have to turn to make this work. I just don't know where / what / why / ...
I compiled node.js on my Mac before from the same sources and worked like a charm. And I also can not imagine that the script assembly from the node repository itself is broken.
PS: This is a completely new and modern installation of Cygwin with Python 2.6.5.