Node 0.4.x being outdated and having no NPM, I decided to build a more recent version.Followed the steps from here, with some changes:
https://github.com/joyent/node/issues/2131#issuecomment-3208846Here is exactly what I did (make sure you have build essentials etc. installed):
# Get sourcewget http://nodejs.org/dist/v0.6.13/node-v0.6.13.tar.gz
tar -xf node-v0.6.13.tar.gzcd node-v0.6.13
# Edit deps/v8/SConstruct and add two compiler flags:[...] 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS', '-march=armv7-a', '-mtune=cortex-a8'],
[...]# I decided to leave the existing node intact and install this version for a node user.
./configure --path=$HOME/local # Grab a coffee
make# Almost donemake install
Build took <1h. Until now I haven't had any problems. Don't forget to add $HOME/local/bin to your user's PATH.make test resulted in only 1 failed test, and I think that was related to the busybox curl version having problems with https.
Hope someone finds this useful!
To join: http://beagleboard.org/discuss
To unsubscribe from this group, send email to:
Frequently asked questions: http://beagleboard.org/faq