View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#19
nodejs (0.8.12) on the extras-devel. Fully optified. Run
Code:
/opt/node/bin/node
npm is working, usage example
Code:
/opt/node/bin/npm install socket.io
(Seems npm needs gcc installed as well. Run on directory where you have write access. Tested only on ext2 filesystem.)

There are little bit hacking (=packeting magic) because autobuilders 'python' is python2.3 and it really needs python2.5. (Documentation says it needs python2.6?).

-----
[EDIT]
This is list of upstream bugs affecting Maemo5. Whoever makes next release should check results of these:
https://github.com/joyent/node/issues/2210 : consistently use #!/usr/bin/env python in gyp (maybe)
https://github.com/joyent/node/issues/4076 : simplejson (for python2.5) and LINK=g++ (as flock fails)
https://github.com/joyent/node/issues/4142 : arm_neon (deps/v8/build/common.gypi)
https://github.com/joyent/node/issues/4144 : only --without-snapshot works

This might be useful note too:
Code:
export PYTHON=python2.5
#export PYTHON=python2.7
$PYTHON ./configure
------
Central place for N900 snippets is very good idea, please use it and share your creations.

Last edited by AapoRantalainen; 2012-10-17 at 04:07. Reason: 0.8.12, list of upstream bugs
 

The Following 5 Users Say Thank You to AapoRantalainen For This Useful Post: