Build / Compile RetroShare v0.6.5 on Debian 10 Buster

Install dependencies

apt install -y git cmake qttools5-dev libglib2.0-dev libupnp-dev libssl-dev libxss-dev libbz2-dev libsqlcipher-dev libspeex-dev libspeexdsp-dev libxslt1-dev libcurl4-openssl-dev libopencv-dev tcl8.6 libmicrohttpd-dev rapidjson-dev qt5-default qtmultimedia5-dev libqt5x11extras5-dev build-essential (libgnome-keyring-dev)

Get the Source

git clone https://github.com/RetroShare/RetroShare.git
git checkout v0.6.5

build the Source

cd RetroShare && qmake CONFIG-=debug CONFIG+=release && make && make install

run retroshare

/usr/bin/retroshare

without gui

/usr/bin/retroshare-nogui

with webinterface

/usr/bin/retroshare-nogui --webinterface 9090 --docroot /usr/share/retroshare/webui/ --http-allow-all

with debugging

./retroshare-gui/src/retroshare -d 0

enable DHT with bdboot.txt (get bdboot.txt from installer or portable) and put it into your ~/.retroshare/LOC06_…/bdboot.txt

debug:

qmake CONFIG+=tests CONFIG+=address_sanitizer
make -j4
tests/unittests/unittests

Raspberry Pi Raspbian Stretch

download
https://www.raspberrypi.org/downloads/raspbian/

verify sha256sum

1b4e8ba6ec721d8aa01f093343ca5656a57c69a8a84dc5921aaed46b2cb59e89  2019-04-08-raspbian-stretch-full.img
a3ced697ca0481bb0ab3b1bd42c93eb24de6264f4b70ea0f7b6ecd74b33d83eb  2019-04-08-raspbian-stretch-full.zip
f115c01a8257024a3b17ba8e9d2032f4c687deb3adc0f4ae25436bfc8cdbf5ad  2019-04-08-raspbian-stretch-full.zip.torrent
d4e7d2caa051432a3b6f320c44939b9f65fd454d957904d1cb9fc1c1683ed716  2019-04-08-raspbian-stretch-lite.img
03ec326d45c6eb6cef848cf9a1d6c7315a9410b49a276a6b28e67a40b11fdfcf  2019-04-08-raspbian-stretch-lite.zip
bd30c6b247ac4d71ba45a1837eebe6379cd6ed64d9eeac3f31dced0f601d1a8d  2019-04-08-raspbian-stretch-lite.zip.torrent
7810593dc49cd179b5991c8987ddcc1d99bf29ed3e186d3bff2273bc9e807de0  2019-04-08-raspbian-stretch.img
7e10a446f8e57210d0e9ad02f0c833aabb86e58187b4dc02431aff5a3f1ccb83  2019-04-08-raspbian-stretch.zip
1c0698a31a4c9e7916c3bdf3cc35efc74449f35aa4a543e154759f3b5d24ec81  2019-04-08-raspbian-stretch.zip.torrent

flash sd card

dd if=2019-04-08-raspbian-stretch-lite.img of=/dev/mmblk0 bs=1M

configure raspbian

sudo raspi-config

enable ssh, spi, serial, 1-wire, …

sudo touch /boot/ssh

read serial sensor data

cat /dev/ttyS1 > /home/pi/data.bin (in rc.local)

(gnu-) plot data with gps file [@/usr/bin/gnuplot-x11 /home/pi/plot.gps]

set datafile separator ","
set terminal x11 1 noraise
set title "RadioActivity"
set xlabel "Time"
set ylabel "CountsPerMinute"
plot '/home/pi/data.bin' using 4
while (1) {
  replot   pause 20
}

source https://www.golem.de/news/geigerzaehler-radioaktivitaet-messen-mit-dem-raspberry-pi-1904-140654-2.html