I'm trying to install Node, socket.io and npm using the following:
cd ~
sudo apt-get install libv8-2.0.3 libv8-dev libv8-dbg libssl-dev curl
wget http://nodejs.org/dist/node-v0.4.3.tar.gz
tar zxvf node-v0.4.3.tar.gz
cd node-v0.4.3
sudo ./configure && make && make install
sudo curl http://npmjs.org/install.sh | sudo sh
sudo npm install socket.io
However the script fails on:
sudo ./configure && make && make install
It is unable to create the node directory in usr/local/include. I'm using sudo and it's not working... I've got a feeling that it's got something to do with my Ubuntu 11.04 install being installed from Windows... but I could be wrong. When I go to usr/local/include i've not got permissions to do anything even though i've got root access....
Do you know why this isn't working?
Here is the full error message:
Cannot create folder '/usr/local/include/node/' (original error: [Errno 13] Permission denied: '/usr/local/include/node/')
sudo bash
then stuff without sudo
exit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With