Skip to content

Instantly share code, notes, and snippets.

@dwburke
Last active February 5, 2017 02:25
Show Gist options
  • Save dwburke/410369c78d46094c4c0b3e436550433c to your computer and use it in GitHub Desktop.
Save dwburke/410369c78d46094c4c0b3e436550433c to your computer and use it in GitHub Desktop.
compile rethinkdb on raspberry pi
#!/bin/bash
# todo - modify swap
sudo apt-get install g++ protobuf-compiler libprotobuf-dev \
libboost-dev curl m4 wget libssl-dev
wget https://download.rethinkdb.com/dist/rethinkdb-2.3.5.tgz
tar xf rethinkdb-2.3.5.tgz
cd rethinkdb-2.3.5
./configure --with-system-malloc --allow-fetch
# this took 8 hours on my pi3
time make ALLOW_WARNINGS=1
# forgot to time the install, but wasn't speedy
sudo make install ALLOW_WARNINGS=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment