Skip to content
TheCreator edited this page Sep 26, 2017 · 2 revisions

Setting Up

Note: This guide is for building Flurbo Core on Ubuntu 16.04

Preperation:
can copy / paste each line exactly

sudo apt-get update
sudo apt-get upgrade

Install Dependencies:
can copy / paste each line exactly

sudo apt-get install -y build-essential libtool autotools-dev autoconf pkg-config libssl-dev
sudo apt-get install -y libboost-all-dev
sudo apt-get install -y libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev
sudo apt-get install -y qttools5-dev-tools libprotobuf-dev protobuf-compiler
sudo apt-get install -y libqrencode-dev
sudo apt-get install -y libminiupnpc-dev
sudo apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-chrono-dev
sudo apt-get install -y libboost-program-options-dev libboost-test-dev libboost-thread-dev
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get install libzmq3-dev
sudo apt-get install -y libevent-dev
sudo add-apt-repository ppa:bitcoin/bitcoin

Update Again
can copy / paste each line exactly

sudo apt-get update

Download Flurbo Repo:
can copy / paste each line exactly

cd ~
git clone https://github.com/Flurbos/flurbo.git

Now do a little setting up for Berkeley DB:
change /home/flurbo to the absolute path everything else stays the same

BITCOIN_ROOT="/home/flurbo"
BDB_PREFIX="${BITCOIN_ROOT}/db4"
sudo mkdir -p $BDB_PREFIX

Now we download Berkeley DB:
can copy / paste each line exactly

wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
tar -xzvf 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

Now you should be ready to Compile the Flurbo wallet!

cd ~/flurbo/
./autogen.sh
./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/"
make

You should be done 👍

if you hit an error here that says: internal compiler error: Killed (program cc1plus)
or virtual memory exhausted: Cannot allocate memory
then do the following (Whilst still in the ~/flurbo/ directory):

free
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
mkswap /var/swap.img
swapon /var/swap.img
free
make -f Makefile

Compiling should then begin and finish all the way to the end.

How To Run Flurbo GUI Wallet

First Time
cd ~
./flurbo/src/qt/flurbo-qt

Close the program
Then Type the following in terminal:
sudo nano ~/.flurbo/flurbo.conf

Make your Config file similiar to this:

daemon=1
server=1
listen=1
rpcuser=PUTWHATEVERNAMEHERE
rpcpassword=PuTS0mECrazXy1AzPa3ws0rDHer3NotIe93j2Ae
rpcallowip=127.0.0.1
addnode=139.59.238.49 #optional

and save.

Other Problems

If you can mine a block but it doesn't seem to submit it, then add following to the conf file

connect=139.59.238.49
connect=174.138.82.68

Now Re-run the QT again:

./flurbo/src/qt/flurbo-qt

Other ways to run

How to run without GUI:

./flurbo/src/flurbod

How to interact with flurbod:

./flurbo/src/flurbo-cli help

More info Coming Soon

Sources:
https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
https://gist.github.com/kostaz/19729e6d53adc5d1606c