[node.js] 설치 방법
openssl 설치 때문에 삽질 후 ㅠㅠ
I found what appears to be a nice tutorial for installing Node on Ubuntu 10.4, so I’ll start with that.
To keep things simple, I’m going to skip the dependencies, grab the tgz file, and just try running it. Why not? Thing’s could’ve changed w/ Node and/or Ubuntu since that post was written, and I love it when packages are designed well enough to provide irrational users with informative feedback, so let’s see.
sudo apt-get install g++
sudo apt-get install libssl-dev
http://erikeldridge.wordpress.com/2010/10/21/getting-started-with-node-js/
I found what appears to be a nice tutorial for installing Node on Ubuntu 10.4, so I’ll start with that.
To keep things simple, I’m going to skip the dependencies, grab the tgz file, and just try running it. Why not? Thing’s could’ve changed w/ Node and/or Ubuntu since that post was written, and I love it when packages are designed well enough to provide irrational users with informative feedback, so let’s see.
- wget http://nodejs.org/dist/node-v0.2.3.tar.gz
- tar -xf node-v0.2.3.tar.gz
- cd node
- ./configure
- make
- sudo make install
/home/erik/node-v0.2.3/wscript:132: error: could not configure a cxx compiler!Nice! I need g++:
sudo apt-get install g++
/home/erik/node-v0.2.3/wscript:188: error: Could not autodetect OpenSSL support. Make sure OpenSSL development packages are installed. Use configure --without-ssl to disable this message.Looks like I need ssl too:
sudo apt-get install libssl-dev
http://erikeldridge.wordpress.com/2010/10/21/getting-started-with-node-js/
댓글
댓글 쓰기