![]() |
[REQUEST] NodeJS for Maemo
Can someone please build NodeJS for Maemo and put it in the repos. It allows Javascript to be executed as a general purpose programming language outside of the browser using the V8 engine.
|
Re: [REQUEST] NodeJS for Maemo
knock knock
http://nodejs.org |
Re: [REQUEST] NodeJS for Maemo
You can try installing gcc/g++, make etc and compiling it yourself (or cross-compiling). Getting gcc & g++ installed is a bit of a pain, but there are some good guides on google.
You'll also need to (temporarily) increase your /tmp dir size or redirect TMPDIR for gcc - otherwise you'll run out of space. I have a build running at the moment, it's been running for a couple of hours - fingers crossed it succeeds. Cross-compiling is probably the way I'd go if I were to start again from scratch. |
Re: [REQUEST] NodeJS for Maemo
Quote:
Quote:
Quote:
|
Re: [REQUEST] NodeJS for Maemo
Quote:
I came across the following command, to (temporarily) increase /tmp: Code:
mount -o remount,size=16M /tmp BTW - compile broke part way through because it was using armv5 config. I used a Raspberry Pi config to set it to armv6 (armv7 wouldn't work for some reason...) - it's now trucking along again. If it builds, maybe I can tar up the binary and post it somewhere... |
Re: [REQUEST] NodeJS for Maemo
Looks like binutils is b0rked (ld doesn't like sysroot option).. trying to compile binutils 2.20 with "--with-sysroot" options. Wish me luck....
|
Re: [REQUEST] NodeJS for Maemo
So... it's kinda built - just fails creating some symlinks (st00pid me trying to build from sdcard...). There is a node binary under <node>/out/Release/node which happily returns a version number :-)
Copying to /opt and will try again - will hopefully have something soon. |
Re: [REQUEST] NodeJS for Maemo
ok, nodeJS is all built and able to serve up the hello world server on my n900 :-)
|
Re: [REQUEST] NodeJS for Maemo
Quote:
I have scripts that automatically move all the significantly-sized files from them if you'd like. (although I think I have the standard 'include' directory symlinked to /opt by default as part of a different, stuff-that's-on-the-N900-by-default optification script) |
Re: [REQUEST] NodeJS for Maemo
Hi, here is how I got NodeJS compiled: http://krispypen.github.com/blog/201...for-your-n900/
|
All times are GMT. The time now is 06:40. |
vBulletin® Version 3.8.8