Compiling Node.js on Ubuntu 10.10
I need to remember to document my code adventures here. I am quickly becoming enamored of Node.js as a complement to Ruby on Rails. Going to play with a chat server this afternoon.
As soon as I tried to build from source I received a missing OpenSSL error.
I had to grab these:
- apt-get install libssl-dev
- apt-get install pkg-config
After that it was just:
- git clone https://github.com/joyent/node.git
- cd node
- export JOBS=2 # optional, sets number of parallel commands.
- ./configure —prefix=$HOME/node
- make
- make install
- export PATH=$HOME/node/bin:$PATH