Post
Topic
Board Announcements (Altcoins)
Re: [MOON] Mooncoin 🌙 built in 2013 with the future in mind
by
HeitorMessias
on 09/09/2023, 21:09:21 UTC
Had a lot of problems when trying to make binaries for linux from source. If anyone is trying to build binaries for Ubuntu 22.04. Here is what worked for me.

source: https://github.com/mooncoincore/wallet/releases/tag/v0.17.1.0

There are few errors. Missing headers.

add:
Code:
#include <deque>
to "src/httpserver.cpp"
line:34

add:
Code:
#include <boost/bind.hpp>
to "src/validation.cpp"
line:47

add:
Code:
#include <boost/bind.hpp>
to "src/validationinterface.cpp"
line:7

Just sharing so you don't loose whole day like i did Smiley

You are completely right,Bbro. The 0.17 wallet has very poor coding.
The community had to accept the crap because the eco team (Michi, mebagger, M.Barry) imposed the wallet with a chain split.
You know, if you drive a car and there are fools on the road - better give them the road.
Better one poor wallet than 2 chains.
If you need to compile that, you may want to use this manual:

git clone https://github.com/mooncoincore/wallet.git -b v0.17.1.0
apt-get update
apt-get upgrade
sudo apt-get install 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
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
cd wallet
./autogen.sh
./configure --disable-shared --enable-static
make