Guys, this is Ubuntu, not Slackware. Please, if you don't know about dh_make/debuild or too lazy to use them, at least use checkinstall.
Then in root of project:
./configure && make && sudo checkinstall
will install it too. i maintain a ppa for current ubuntu of nodejs to ease installation. http://blog.jetienne.com/2010/08/how-to-install-nodejs-on-ub...
wget http://nodejs.org/dist/node-v0.2.2.tar.gz && tar xzf node-v0.2.2.tar.gz && cd node-v0.2.2 && export PREFIX=~/opt && ./configure && make && make install && echo 'export PATH=~/opt/bin:${PATH}' >> ~/.bashrc;
Otherwise any npm package will be able to rm -r you.
http://increaseyourgeek.wordpress.com/2010/08/18/install-nod...
Guys, this is Ubuntu, not Slackware. Please, if you don't know about dh_make/debuild or too lazy to use them, at least use checkinstall.