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

Raspberry Pi Raspbian Stretch

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

verify sha256sum

65308c4a52cb2a6e7995c67e66aceca68a1b1944f2aacb1f89be55f4db9d48ab  2018-06-27-raspbian-stretch.img
8636ab9fdd8f58a8ec7dde33b83747696d31711d17ef68267dbbcd6cfb968c24  2018-06-27-raspbian-stretch.zip
1d1d85d0faa8211ca2be15b8777cf785000768f0115056673f55083281d081de  2018-06-27-raspbian-stretch.zip.torrent
85d9213eafd4982162306249100856491c51d304cf0faa5ee23306cee64effac  2018-06-27-raspbian-stretch-lite.img
3271b244734286d99aeba8fa043b6634cad488d211583814a2018fc14fdca313  2018-06-27-raspbian-stretch-lite.zip
a90c299df88198fc5b60c705d809f924a8a3f20eadd813c44c19abd900f6cd9c  2018-06-27-raspbian-stretch-lite.zip.torrent

flash sd card

dd if=2018-06-27-raspbian-stretch.img of=/dev/mmblk0 bs=1M

configure raspbian

sudo raspi-config

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

sudo touch /boot/ssh

Raspberry Pi Raspbian Stretch

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

verify sha256sum

4cdb8ebbbc52a8a3061082d3524b821aa4ad7e0db56413c2a129d96723c0f64d  2018-04-18-raspbian-stretch.img
0e2922e551a895b136f2ea83d1bc0ca71e016e6d50244ba3da52bd764df5d1b6  2018-04-18-raspbian-stretch.zip
5f0a0361cf308bcf2e5aea552fd14ff85582de607bdf9c374e0e18ebaaf6348b  2018-04-18-raspbian-stretch.zip.torrent
5a0747b2bfb8c8664192831b7dc5b22847718a1cb77639a1f3db3683b242dc96  2018-04-18-raspbian-stretch-lite.img
5a0747b2bfb8c8664192831b7dc5b22847718a1cb77639a1f3db3683b242dc96  2018-04-18-raspbian-stretch-lite.zip
d6d0395848e42bc21acd6cf9656cd0a429c710b9bb57af36d927faa7e62d87c9  2018-04-18-raspbian-stretch-lite.zip.torrent

flash sd card

dd if=2018-04-18-raspbian-stretch.img of=/dev/mmblk0 bs=1M

configure raspbian

sudo raspi-config

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

sudo touch /boot/ssh