From last 4 hours I am trying to install nodejs, I have a linux machine.
**$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)**
I have downloaded the nodeJs setup and when I run the (./configure) command its showing error.
$ ./configure
File "./configure", line 511
o['default_configuration'] = 'Debug' if options.debug else 'Release'
^
SyntaxError: invalid syntax
Your RHEL 5 has old Python version.
Run python --version
. You need at least Python 2.7 for that install script to work, so update your Python first.