Russianator
Posts: 4
Joined: Sun Aug 07, 2011 12:14 am

Node.js 0.8.15 already compiled package

Wed Nov 28, 2012 6:56 pm

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.

PherricOxide
Posts: 1
Joined: Sun Dec 02, 2012 8:45 am

Re: Node.js 0.8.15 already compiled package

Sun Dec 02, 2012 8:49 am

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.

Russianator
Posts: 4
Joined: Sun Aug 07, 2011 12:14 am

Re: Node.js 0.8.15 already compiled package

Sun Dec 02, 2012 9:34 am

Ah, nice one.

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

Russianator
Posts: 4
Joined: Sun Aug 07, 2011 12:14 am

Re: Node.js 0.8.15 already compiled package

Sun Dec 02, 2012 9:55 am

Source build now upped with the fix posted by PherricOxide.

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

ejeklint
Posts: 10
Joined: Sun Dec 02, 2012 4:59 pm

Re: Node.js 0.8.15 already compiled package

Tue Dec 04, 2012 5:18 pm

Very nice, thanks for sharing this!

greenicicle
Posts: 1
Joined: Sun Dec 23, 2012 1:10 pm

Re: Node.js 0.8.15 already compiled package

Sun Dec 23, 2012 1:12 pm

Thanks for sharing, works perfectly.

ejeklint
Posts: 10
Joined: Sun Dec 02, 2012 4:59 pm

Re: Node.js 0.8.15 already compiled package

Sun Dec 23, 2012 2:58 pm

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

cashmore1990
Posts: 2
Joined: Sun Dec 30, 2012 7:04 pm

Re: Node.js 0.8.15 already compiled package

Sun Dec 30, 2012 7:08 pm

Currently running make install so update to come on if that file works shortly! :)

cashmore1990
Posts: 2
Joined: Sun Dec 30, 2012 7:04 pm

Re: Node.js 0.8.15 already compiled package

Sun Dec 30, 2012 9:10 pm

Okay...for anyone else interested the node installation listed above worked perfectly on the latest Wheezy image for the RPI :)

Thanks for supplying this!

nonlinearmind
Posts: 19
Joined: Thu Dec 13, 2012 3:44 am

Re: Node.js 0.8.15 already compiled package

Wed Jan 02, 2013 11:20 pm

Thanks for posting this! My own compiles kept quiting after an hour!

mintsource
Posts: 13
Joined: Wed Apr 11, 2012 9:59 pm

Re: Node.js 0.8.15 already compiled package

Thu Jan 10, 2013 10:17 pm

thanks very much for this... really want to try it out. does anyone have any feedback on how node.js performs on the pi?

Heater
Posts: 19430
Joined: Tue Jul 17, 2012 3:02 pm

Re: Node.js 0.8.15 already compiled package

Fri Jan 11, 2013 12:05 am

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.
Slava Ukrayini.

mintsource
Posts: 13
Joined: Wed Apr 11, 2012 9:59 pm

Re: Node.js 0.8.15 already compiled package

Fri Jan 11, 2013 12:17 am

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 :)

mintsource
Posts: 13
Joined: Wed Apr 11, 2012 9:59 pm

Re: Node.js 0.8.15 already compiled package

Fri Jan 11, 2013 12:29 am

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.

utp
Posts: 1
Joined: Tue Jan 15, 2013 10:20 am

Re: Node.js 0.8.15 already compiled package

Tue Jan 15, 2013 10:22 am

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......)

clint9090
Posts: 7
Joined: Thu Jan 17, 2013 3:40 pm

Re: Node.js 0.8.15 already compiled package

Thu Jan 17, 2013 3:44 pm

Quick question... will this work on arch linux?

Thanks!

Elexy
Posts: 1
Joined: Sat Jan 19, 2013 4:00 pm

Re: Node.js 0.8.15 already compiled package

Sat Jan 19, 2013 4:01 pm

Thanks, works like a charm!

inm
Posts: 2
Joined: Sat Jan 12, 2013 2:59 am

Re: Node.js 0.8.15 already compiled package

Fri Nov 08, 2013 3:25 am

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!

Heater
Posts: 19430
Joined: Tue Jul 17, 2012 3:02 pm

Re: Node.js 0.8.15 already compiled package

Fri Nov 08, 2013 6:14 am

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
Slava Ukrayini.

ejeklint
Posts: 10
Joined: Sun Dec 02, 2012 4:59 pm

Re: Node.js 0.8.15 already compiled package

Fri Nov 08, 2013 6:24 am

You really should get the latest version, 0.10.21 which contain an important security fix. From http://nodejs.org/dist/v0.10.21/

Heater
Posts: 19430
Joined: Tue Jul 17, 2012 3:02 pm

Re: Node.js 0.8.15 already compiled package

Fri Nov 08, 2013 7:46 am

ejeklint,

Good point, thanks.
Slava Ukrayini.

ejeklint
Posts: 10
Joined: Sun Dec 02, 2012 4:59 pm

Re: Node.js 0.8.15 already compiled package

Fri Nov 08, 2013 7:59 am

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á! :)

Return to “Other programming languages”