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.
-
- Posts: 4
- Joined: Sun Aug 07, 2011 12:14 am
-
- Posts: 1
- Joined: Sun Dec 02, 2012 8:45 am
Re: Node.js 0.8.15 already compiled package
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.
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.
-
- Posts: 4
- Joined: Sun Aug 07, 2011 12:14 am
Re: Node.js 0.8.15 already compiled package
Ah, nice one.
I'll make this change and re-up the file.
I'll make this change and re-up the file.
-
- Posts: 4
- Joined: Sun Aug 07, 2011 12:14 am
Re: Node.js 0.8.15 already compiled package
Source build now upped with the fix posted by PherricOxide.
Anyone else who has trouble with the build let me know.
Anyone else who has trouble with the build let me know.
Re: Node.js 0.8.15 already compiled package
Very nice, thanks for sharing this!
-
- Posts: 1
- Joined: Sun Dec 23, 2012 1:10 pm
Re: Node.js 0.8.15 already compiled package
Thanks for sharing, works perfectly.
Re: Node.js 0.8.15 already compiled package
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. First one to try it out gets the honour of testing that my upload is correct. 
https://dl.dropbox.com/s/sh3f72vtqcpekv9/index.html
Just
Code: Select all
sudo make install

-
- Posts: 2
- Joined: Sun Dec 30, 2012 7:04 pm
Re: Node.js 0.8.15 already compiled package
Currently running make install so update to come on if that file works shortly! 

-
- Posts: 2
- Joined: Sun Dec 30, 2012 7:04 pm
Re: Node.js 0.8.15 already compiled package
Okay...for anyone else interested the node installation listed above worked perfectly on the latest Wheezy image for the RPI 
Thanks for supplying this!

Thanks for supplying this!
-
- Posts: 19
- Joined: Thu Dec 13, 2012 3:44 am
Re: Node.js 0.8.15 already compiled package
Thanks for posting this! My own compiles kept quiting after an hour!
-
- Posts: 13
- Joined: Wed Apr 11, 2012 9:59 pm
Re: Node.js 0.8.15 already compiled package
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
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.
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.
-
- Posts: 13
- Joined: Wed Apr 11, 2012 9:59 pm
Re: Node.js 0.8.15 already compiled package
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 

-
- Posts: 13
- Joined: Wed Apr 11, 2012 9:59 pm
Re: Node.js 0.8.15 already compiled package
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
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......)
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
Quick question... will this work on arch linux?
Thanks!
Thanks!
Re: Node.js 0.8.15 already compiled package
Thanks, works like a charm!
Re: Node.js 0.8.15 already compiled package
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
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
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.
Re: Node.js 0.8.15 already compiled package
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
Forgot to mention my install "procedure":
Voilá! 
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/
