|
I saw this issue http://community.webfaction.com/questions/75/issue-nodejs-installation and this one http://forum.webfaction.com/viewtopic.php?id=3612&p=1 I'm running this command inside , ~/sources/node-v0.2.4 ./configure –jobs=1 –prefix=$HOME And getting this error
When I try to run make I get:
Thanks |
|
In case anyone stumbles onto this page in the future, you're likely wanting to install a newer version of Node.js, in which case this guide details that process. Hope that helps! |
|
The problem is that your server is really quite old and is running Python 2.3 by default. A quick bit of sed-fu will force all the scripts to use Python 2.6:
|
|
Your account is on one of our older servers that uses Python 2.3 as the default system Python. I think that if you set a newer version of Python as your default, then you won't have this problem any more. Hope that helps! Edit: this doesn't work, because the build scripts are invoking Python via David L, So using your suggestion I got ./configure to run successfully, but make failed with the same error.
Seanf, I set python in my .bash_profile python --version gives me Python 3.1, but ./configure still fails. It's unlikely that the Node build script it compatible with Python 3.1. Try using Python 2.6 instead. Seanf, Same issue I get the make error above with Python 2.6.5, NameError: name 'set' is not defined I've replied to your ticket with a possible workaround. |