2012-09-09

Building Node.js on Raspberry Pi

1.  Install adafruit.com Occidental Distro
http://learn.adafruit.com/adafruit-raspberry-pi-educational-linux-distro/occidentalis-v0-dot-2
2.  Install build dependencies
sudo apt-get install git-core build-essential
3.  Get the latest version of Node from github (v0.8.8)
git config --global user.email "you@example.com"

git config --global user.name "Your Name"
git clone https://github.com/joyent/node
4.  Get these OpenSSL and V8 patches
curl https://github.com/stolsma/node/commit/5bef2b06f480b79bb203191f23d114adcdd9734b.patch | git am

curl https://github.com/stolsma/node/commit/db219e052176e2501158dd4390629531e813594a.patch | git am
curl https://github.com/joyent/node/commit/f8fd9aca8bd01fa7226e1abe75a5bcf903f287ab.patch | git am

curl https://github.com/joyent/node/commit/7142b260c6c299fc9697e6554620be47a6f622a9.patch | git am
5.  Build Node
cd node

./configure 

make

sudo make install





























No comments: