iwens from our slack made this simple guide to compile wallet in ubuntu, worked for me...
Mini guide for compiling wallet for ubuntu 16 lts hope i didn't forget a step on 404 errors execute cmd a second time.
I tested it under a fresh ubuntu 16.4 lts.
execute each line in a terminal under ubuntu and confirm every question with yes
sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get install libminiupnpc-dev
sudo apt-get install libqrencode-dev
sudo apt-get install git
git clone
https://github.com/TrezarCoin/TrezarCoincd TrezarCoin
qmake "USE_UPNP=1"
make
terzarcoin-qt will be in the trezarcoin dir.
if u rather compile without upnp u should replace
qmake "USE_UPNP=1"
with qmake
if you get an error like this
/usr/lib/x86_64-linux-gnu/qt4/bin/uic src/qt/forms/optionsdialog.ui -o build/ui_optionsdialog.h
g++ -c -m64 -pipe -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/bitcoin.o src/qt/bitcoin.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
you have run out of memory (on cheaper VPS) and need to turn on the hard drive swap (uses hard drive for virtual memory)
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04-TC