If you've had some trouble getting econocalypse to build from source on Ubuntu Server 18.04.2, these steps worked for me. I can confirm that the qt wallet works under Xubuntu 18.04.2 in a virtual box using these steps. This may work for Debian 9.7 or 9.8, Ubuntu Server 18.10, and any of the gui flavors of Ubuntu 18.04.2 or 18.10. At this time they do not work with Ubuntu 19.04. Use at your own risk.
1] Update and upgrade your OS. Reboot if necessary. sudo apt-get update
sudo apt-get upgrade
2] Install the required dependencies to build the daemon and cli: sudo apt-get install git build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-dev libzmq3-dev unzip
3] Install these packages to build the qt wallet. Optional miniupnpc here as well:
sudo apt-get install libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev
4] For the BerkeleyDB 4.8 package, I followed these instructions to install them from the bitcoin team:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
5] This part is copied and pasted from the econocalypse daemon build instructions
Clone the source from git: git clone
https://github.com/dobbscoin/econocalypse-source cd econocalypse-source
chmod 744 share/genbuild.sh
chmod 744 src/leveldb/build_detect_platform
chmod 744 autogen.sh
Skip to 6b if you also want to build the qt wallet
6a] Build the daemon + cli for Ubuntu Server 18.04.2. Requires at least 2gb of RAM. See suggested tweak that worked on a VPS with 1gb of RAM.
./autogen.sh
./configure --with-unsupported-ssl --without-gui
make
6b] If building with a qt wallet, execute these commands:
./autogen.sh
./configure --with-unsupported-ssl
make
If you have less than 2gb of RAM, use this option with ./configure. Make sure you add --with-unsupported-ssl, and --without-gui if you need to. Make sure there is a space between the last " and the --. Got it?
./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768"
Now hopefully congratulations are in order after a successful completion of make. Enjoy some frop or your favorite beverage.
The compiled files will end up in ~/econocalypse-source/src and ~/econocalypse-source/src/qt. I like to make a directory in my home and then copy the compiled files to the directory I made.
cd ~
mkdir econocalypse
cd econocalypse-source/src
cp econocalypsed $HOME/econocalypse
cp econocalypse-cli $HOME/econocalypse
If you also built the qt wallet:
cd ~/econocalypse-source/src/qt
cp econocalypse-qt $HOME/econocalypse
Now go to the new directory:
cd ~/econocalypse
If running from a VPS, execute the daemon:Skip if you are running the qt wallet ./econocalypsed -daemon -discover -listen -server
You may now use ./econocalypse-cli help to find the neat and keen commands to check the wallet. Follow the official guide for setting up a masternode.
If running the qt wallet in X, execute in a terminal:
./econocalypse-qt
And now "Bob"'s your uncle.