![]() |
[WIP] N900 - A portable Diaspora node
Installing Diaspora on the Nokia N900:
The following guide is something I threw together in an afternoon whilst tinkering with my N900, which is currently the only device I own that has hardware which resembles that of a SheevaPlug or GuruPlug, on which I do intend to run as a Diaspora node full time when I get around to purchasing one. So the following is a result of me getting my feat wet before taking the dive, so to speak. :) The steps below are broken up into the sections taken from: http://github.com/diaspora/diaspora/...nning-Diaspora Simply so I could keep track of where I was. Unfortunately, and this is something to absolutely keep in mind, as it currently stands this guide will NOT (yet) get you to the point of having a working Disapora node on your N900, this is due to the lack of ARM support offered currently by MongoDB. So, my motivation for sharing this information is with the hopes of getting the fantastic community here on board to work this one out. A little disclaimer before we begin: !! BACK UP ALL DATA ON YOUR DEVICE BEFORE PERFORMING THE FOLLOWING !! !! I AM NOT TO BE HELD RESPONSIBLE OR ACCOUNTABLE FOR ANY DAMAGE TO YOUR DEVICE OR LOSS OFF DATA !! !! FOLLOW THE GUIDE BELOW AT YOUR OWN RISK !! Getting to where I did was quite tricky, as there are many dependencies that need to be installed on your device. Most of which are from source, so while I'll try to make this as 'n00b' friendly as I can, if you don't fully know what you're doing the following isn't really where you should be cutting your teeth on such things. So just a friendly warning for all before we finally begin. :) Now briefly the following is a list of some software you will need to have installed on your device: wget, gnu-grep and others that will be covered in this guide. (optionally you may also want to consider running an ssh server on your device, this will make inputting the following commands a lot easier. Unless, of course, you are literally that comfortable navigating the N900's QWERTY keyboard, and in which case I tip my hat to you!) For the SSH peeps: Code:
ssh root@YOUR-PHONE-IP First things first, the following command will need to be run, which will basically move the /tmp directory onto your SDCard. Without this being set later on you will most likely run into errors whilst compiling where your /tmp drive runs out of space. Code:
mkdir /media/mmc1/tmp Code:
nano /etc/apt/sources.list.d/external_repos.list Code:
apt-get install ruby-full MongoDB Code:
cd /home/user Code:
wget http://prdownloads.sourceforge.net/s...s-2.0.1.tar.gz && wget ftp://ftp.csx.cam.ac.uk/pub/software...re-8.10.tar.gz && wget http://fastdl.mongodb.org/src/mongodb-src-r1.6.3.tar.gz && wget http://anduin.linuxfromscratch.org/s...p-1.0.0.tar.gz Code:
tar xzf scons-2.0.1.tar.gz Code:
tar xzf pcre-8.10.tar.gz a few more dependencies to take care of... Code:
apt-get -y install libboost-dev libreadline5-dev Code:
wget ftp://ftp.mozilla.org/pub/mozilla.or...s-1.7.0.tar.gz Finally, lets compile mondodb: Code:
tar xzf mongodb-src-r1.6.3.tar.gz You'll receive an error: Code:
db/../bson/util/atomic_int.h:96:4: error: #error "unsupported compiler or platform" But in case progress is made I'll maintain this post. Updating it with useful links and information. Hopefully before too long we'll actually see this thing working! :D I look forward to hearing everyones thoughts on this topic. |
Re: [WIP] N900 - A portable Diaspora node
With PR1.3 around the corner (including dual boot possibilities) and the good news about Meego on N900, I'd like to point out the Diaspora on Meego thread.
Also, thanks a bunch for your post my-demise, it's great to see someone examining the possibilities with Diaspora on the N900! |
Re: [WIP] N900 - A portable Diaspora node
http://repat.de/2010/10/diaspora-on-...-debian-lenny/
I've come a little bit further, but couldn't make it either... maybe it helps... |
Re: [WIP] N900 - A portable Diaspora node
diapora is now using mysql... so that seems to be out of the way. :-)
thanks for this! |
Re: [WIP] N900 - A portable Diaspora node
Quote:
Thanks for the heads up! I'll do my best to update the walk-through to reflect this change in the Diaspora core. With any luck I'll be able to get it running. |
Re: [WIP] N900 - A portable Diaspora node
here's [groups.google.com] an ongoing discussion about hosting a seed on a meego|android device.
|
Re: [WIP] N900 - A portable Diaspora node
If you are interested in MongoDB for ARMv5 I have successfully compiled and installed mongo for the raspberry pi. Send me PM if you are interested.
|
All times are GMT. The time now is 18:41. |
vBulletin® Version 3.8.8