Heyho
You want to run Rilcoin on a Raspberry Pi 2 or 3 ?
Here are the steps for compiling on a Raspbian Stretch Lite.
The whole thing with root right (or sudo)
#!/bin/bash
RILCOIN_ROOT="/root/rilcoin"
BDB_PREFIX="${RILCOIN_ROOT}/db4"
# Make a 2 GB swapfile
dd if=/dev/zero of=/mnt/mybtdxswap.swap bs=2M count=1000
mkswap /mnt/mybtdxswap.swap
swapon /mnt/mybtdxswap.swap
# Install Tools
apt install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev -y
apt install libssl1.0-dev -y
apt install git -y
apt install libzmq3-dev -y
cd /root
# Clone Files and Install
git clone https://github.com/rilcoin-project/rilcoin && mkdir -p $BDB_PREFIX
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
tar -xzvf db-4.8.30.NC.tar.gz && rm db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX && make install
# Make Rilcoin
cd $RILCOIN_ROOT
./autogen.sh
# Config is without GUI / optimized for low RAM
./configure --without-gui LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/" CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768"
make
make install
#Set rilcoin.conf
mkdir -p ~/.rilcoin
rrpcuser="rilcoinpi$(shuf -i 100000000-199999999 -n 1)"
rrpcpassword="$(shuf -i 1000000000-3999999999 -n 1)$(shuf -i 1000000000-3999999999 -n 1)$(shuf -i 1000000000-3999999999 -n 1)"
echo -e "rpcuser=$rrpcuser \nrpcpassword=$rrpcpassword \nrpcallowip=127.0.0.1 \nserver=1 \nlisten=1 \ndaemon=1 \nlogtimestamps=1 \ntxindex=1 \n" > /root/.rilcoin/rilcoin.conf
#swap off/disable for safe your SD-Card
service dphys-swapfile stop
systemctl disable dphys-swapfile
#Start Rilcoin and synch
rilcoind
#Watch debug.log
sleep 5
tail -f /root/.rilcoin/debug.log
Have fun