

- #GET RETROSHARE TO WORK ON RASPBERIAN INSTALL#
- #GET RETROSHARE TO WORK ON RASPBERIAN UPDATE#
- #GET RETROSHARE TO WORK ON RASPBERIAN SOFTWARE#
- #GET RETROSHARE TO WORK ON RASPBERIAN DOWNLOAD#
Sudo dd if=/dev/zero of=swapfile bs=1M count=256Ĭd. All you need to do is create another swap file of sufficient size, say 256 MB, which you delete afterwards just to be on the safe side: But as a matter of fact, Raspbian wheezy already uses a swap file per default, so it can't be that bad. Now, I've heard that very, very bad things happen if you create a swap file on a flash storage device like the SD card your Raspi uses or USB sticks. The irony of situation is that just today an enhanced version of the Raspberry Pi was announced with 512 MB of RAM, which should make the following swap file part obsolete. G++: internal compiler error: Killed (program cc1plus) Virtual memory exhausted: Cannot allocate memory Unfortunately, this is not enough to compile retroshare-gui, it will quit with something like The Raspberry Pi has 256 MB RAM of which at least 16 MB need to be reserved for the video core, so only 240 MB RAM left. /libretroshare/src & qmake & make clean & make -j2Īnd now the real fun starts. INCLUDEPATH += $$system(pkg-config -cflags glib-2.0 | sed -e "s/-I//g")Ĭd. INCLUDEPATH += /usr/include/glib-2.0/ /usr/lib/glib-2.0/include You need to change this line (should be directly below the previous change, line 224 now) Secondly, someone hardcoded the location of glib-2.0 into that project file in a very system dependent way. (See this thread in the RetroShare forum.) You do this by editing the file libretroshare.pro in the libretroshare/src/ directory and after the line 221īecause we do in fact have version 1.6.17 of libupnp installed. The problems start with libretroshare and there are two changes you need to make on it:įirstly, because even though the preprocessor commands are there, you still need to tell the make process that you are on Debian and your libupnp is of a different version. /openpgpsdk/src & qmake & make clean & make -j2 The first two subprojects should work fine:Ĭd ~/development/RetroShare-v0.5.4b/trunk/Ĭd libbitdht/src & qmake & make clean & make -j2Ĭd. Then you need to compile the projects in the subdirectories, but there are still some modifications necessary to make it work under Debian.
#GET RETROSHARE TO WORK ON RASPBERIAN INSTALL#
Sudo apt-get install libqt4-dev g++ libupnp-dev libssl-dev libgnome-keyring-dev libbz2-dev libxss-dev
#GET RETROSHARE TO WORK ON RASPBERIAN UPDATE#
It is a bit outdated because they've removed gnupg and introduced openpgp, but didn't update their instructions. Required packagesMy primary source for instructions is the RetroShare wiki page UnixCompile of today's version.
#GET RETROSHARE TO WORK ON RASPBERIAN DOWNLOAD#
In case that information changes on the Raspi website, I'll duplicate the links and information here, so we're all on the same page:Ĭreate a directory development in your home directory, cd there, download the sources and unpack them. I'm starting with my Raspberry Pi (Model B) with a sufficiently large SD card (4 GB should be enough) and a freshly installed Raspbian Wheezy (build ), which I've updated today (15th October) doing apt-get update & apt-get upgrade, and haven't modified so far besides putting my dotfiles under revision control using git. What we need to get started Raspberry Pi and Raspbian Wheezy I didn't write down exact times, but it's probably best if you have some other tasks to attend to for 2 hours while one subproject is compiling. With the recent release of 0.5.4 I thought I could give it a try again.īe warned: The compiling alone takes a few hours. I've already managed to compile RetroShare 0.5.3 on and for my Raspi, but it segfaulted whenever I wanted to add a friend or open the settings menu. (I think he wants to go for Parallella now. Fabian is still pissed that my Raspi arrived sooner than his, that is it arrived at all, although I ordered it much later. When I heard about the Raspberry Pi, the geek inside me wanted to have one.

Maybe I'll make an article about the pros and cons of RetroShare, but in this article I want to describe my attempts to get it running on my Raspberry Pi, so it can serve as a 24/7 node in the RetroShare network to forward connections without consuming that much power. I've already tried WASTE, GnuNet and AllianceP2P, and they couldn't convince me for long.
#GET RETROSHARE TO WORK ON RASPBERIAN SOFTWARE#
RetroShare is a decentralized sharing application/network that is, in my opinion, the best darknet software available right now. I don't want this to turn into a political discussion - it is a "tech" blog - so it should be sufficient to say that I like and use RetroShare. It is if you are paranoid enough.I'm a fan of darknets.
