Page 1 of 1

Node.js 0.8.15 already compiled package

Posted: Wed Nov 28, 2012 6:56 pm
by Russianator
Hi guys,

I've shared a link to download my .tgz of the node-0.8.15 source, compiled on my model B 512MB Raspberry Pi.

You can use this to save yourself having to cross-compile or waiting the 2 odd hours it takes to compile it on your Raspberry Pi.

Simply download, untar, enter the directory and run 'make install'.

LINK: http://goo.gl/ohPDi

I'll try and keep this collection up to date as more versions are released. I'm trying to keep it to the current release version.

Re: Node.js 0.8.15 already compiled package

Posted: Sun Dec 02, 2012 8:49 am
by PherricOxide
When I ran 'make install' it attempted rebuild the binaries, maybe because the configuration options you used to build were different? Anyway, as a quick fix for other people that have the same problem just open the Makefile and change,

42 install: all
43 $(PYTHON) tools/install.py $@ $(DESTDIR)

To,

42 install:
43 $(PYTHON) tools/install.py $@ $(DESTDIR)

To make sure it doesn't try and rebuild everything before installing.

Re: Node.js 0.8.15 already compiled package

Posted: Sun Dec 02, 2012 9:34 am
by Russianator
Ah, nice one.

I'll make this change and re-up the file.

Re: Node.js 0.8.15 already compiled package

Posted: Sun Dec 02, 2012 9:55 am
by Russianator
Source build now upped with the fix posted by PherricOxide.

Anyone else who has trouble with the build let me know.

Re: Node.js 0.8.15 already compiled package

Posted: Tue Dec 04, 2012 5:18 pm
by ejeklint
Very nice, thanks for sharing this!

Re: Node.js 0.8.15 already compiled package

Posted: Sun Dec 23, 2012 1:12 pm
by greenicicle
Thanks for sharing, works perfectly.

Re: Node.js 0.8.15 already compiled package

Posted: Sun Dec 23, 2012 2:58 pm
by ejeklint
Here is my recently compiled 0.8.16, built on latest Raspbian Wheezy, 2012-12-16:

https://dl.dropbox.com/s/sh3f72vtqcpekv9/index.html

Just

Code: Select all

sudo make install
. First one to try it out gets the honour of testing that my upload is correct. :D

Re: Node.js 0.8.15 already compiled package

Posted: Sun Dec 30, 2012 7:08 pm
by cashmore1990
Currently running make install so update to come on if that file works shortly! :)

Re: Node.js 0.8.15 already compiled package

Posted: Sun Dec 30, 2012 9:10 pm
by cashmore1990
Okay...for anyone else interested the node installation listed above worked perfectly on the latest Wheezy image for the RPI :)

Thanks for supplying this!

Re: Node.js 0.8.15 already compiled package

Posted: Wed Jan 02, 2013 11:20 pm
by nonlinearmind
Thanks for posting this! My own compiles kept quiting after an hour!

Re: Node.js 0.8.15 already compiled package

Posted: Thu Jan 10, 2013 10:17 pm
by mintsource
thanks very much for this... really want to try it out. does anyone have any feedback on how node.js performs on the pi?

Re: Node.js 0.8.15 already compiled package

Posted: Fri Jan 11, 2013 12:05 am
by Heater
Re: Node.js performance.

Just so happens that today I was running up some simple tests on an ARM board. Not a Pi, perhaps I'll have time to repeat the tests there tomorrow.

Anyway what I have is a simple client program that connects via a websocket to a websocket server running on my PC. It then starts sending JSON data to the server.

I have implemented this in node.js and Go for comparisons sake.

The surprising result is that the node.js version is 5 times faster than the Go.

Surprising because JS is interpreted and Go is compiled.

Well, perhaps not such a surprise as JSON is built into JavaScript .

Looks like if you want to do that kind of thing node.js is a simple and speedy choice.

Re: Node.js 0.8.15 already compiled package

Posted: Fri Jan 11, 2013 12:17 am
by mintsource
thanks for the info. i think node.js on these kind of devices could have some interesting uses. i'm not too concerned about the number of concurrent requests it can handle for what i want to use it for, more the throughput time to handle a realistic application request.. a lightweight low cost node server has potential for all sorts of nice applications i don't have time to build :)

Re: Node.js 0.8.15 already compiled package

Posted: Fri Jan 11, 2013 12:29 am
by mintsource
Russianator - thank you. package installed and "Hello World" server working.. tomorrow hopefully i'll get the chance to run some test node apps on there. can post some benchmarks if anyones interested.

Re: Node.js 0.8.15 already compiled package

Posted: Tue Jan 15, 2013 10:22 am
by utp
Thanks, would like to report the "sudo make install" works on my pi (took a while to compile tho, but it sure work)

Great thanks!!!!!!!
(Next for me is to try npm serialport, would like to get this working on pi......)

Re: Node.js 0.8.15 already compiled package

Posted: Thu Jan 17, 2013 3:44 pm
by clint9090
Quick question... will this work on arch linux?

Thanks!

Re: Node.js 0.8.15 already compiled package

Posted: Sat Jan 19, 2013 4:01 pm
by Elexy
Thanks, works like a charm!

Re: Node.js 0.8.15 already compiled package

Posted: Fri Nov 08, 2013 3:25 am
by inm
Hate to bump something this old but I can't find what I need. Does anyone else have the precompiled Node files? I need them. Thanks!

Re: Node.js 0.8.15 already compiled package

Posted: Fri Nov 08, 2013 6:14 am
by Heater
inm,

I just install node version 0.10.9 on the Pi it works a treat. (I tried some 0.11.x versions but they gave me problems)

You can get it from here: http://nodejs.org/dist/

I download them with:

$ wget http://nodejs.org/dist/v0.10.9/

Unpack that with:

$ tar -xvzf node-v0.10.9-linux-arm-pi.tar.gz

The executable is then in is then in node-v0.10.9-linux-arm-pi/bin

Re: Node.js 0.8.15 already compiled package

Posted: Fri Nov 08, 2013 6:24 am
by ejeklint
You really should get the latest version, 0.10.21 which contain an important security fix. From http://nodejs.org/dist/v0.10.21/

Re: Node.js 0.8.15 already compiled package

Posted: Fri Nov 08, 2013 7:46 am
by Heater
ejeklint,

Good point, thanks.

Re: Node.js 0.8.15 already compiled package

Posted: Fri Nov 08, 2013 7:59 am
by ejeklint
Forgot to mention my install "procedure":

Code: Select all

wget http://nodejs.org/dist/path_to_latest_version/node_version-arm-pi.tar.gz
tar xvfz node_version-arm-pi.tar.gz
cd node_version-arm-pi
sudo cp -R * /usr/local/
Voilá! :)