Have you been able to get this compiled on / for any modern linux system?
I just tried on Ubuntu 20.04 lts and 18.04 lts and both failed due to dependency messes. But, since I have compiled newer coins with them I don't know if it's the OS or other newer things I have installed. I thought I had a copy of the binary saved someplace but I can't find it.
Side thought, makes you wonder how much stuff like this kills older coins, I want to run it but there is an issue getting it compiled and there are no official linux binaries and for a bit of fun / playing around mining it's not worth putting in the extra time needed to do it so we go play with another coin.
-Dave
my slackware-current (post 14.2)
you need to specify -std=gnu++98 for the compiler (xCXXFLAGS), i modified this from src/makefile.unix
and you'll probably get a buttload of the same warnings over and over from the boost headers
even further sad thought, so called modern coins usually have doc files for building that are 10 years out of date.
it really is voodoo some days. i think most devs like the mysticism and their fifedoms.
i've never used a linux QT build for any coin (i think some of my coins may have built qt binaries accidently, i dont pay attention since i dont use (X)windowing. i'm a command line weenie all the way for my server.
#!/bin/bash
coinname="metalmusiccoin"
pcdversion=`/bin/basename "$PWD" | \
/bin/sed -e "s,\.,,g" \
-e "s,MTLMC,metalcoind,"`
echo "pcdversion=${pcdversion} pwd=${PWD} coinname=${coinname}"
cd src
if [ "x${1}" = "x" ]; then
rm -f obj/version.*
OPENSSL_INCLUDE_PATH="/usr/include/openssl-1.0"
OPENSSL_LIB_PATH="/usr/lib64/openssl-1.0"
BOOST_INCLUDE_PATH="/usr/local/boost-1.59.0/include"
BOOST_LIB_SUFFIX=
BOOST_LIB_PATH="/usr/local/boost-1.59.0/lib"
export OPENSSL_INCLUDE_PATH OPENSSL_LIB_PATH BOOST_INCLUDE_PATH BOOST_LIB_SUFFIX BOOST_LIB_PATH
make -f makefile.g++98 USE_UPNP=-
stat=$?
exit $stat
elif [ "x${1}" = "x--clean" -o "x${1}" = "xclean" ]; then
make -f makefile.unix clean
stat=$?
exit $stat
elif [ "x${1}" = "x--install" -o "x${1}" = "xinstall" ]; then
if [ -r ${coinname}3d ]; then
cp -p ${coinname}3d /usr/local/bin/${pcdversion}
stat=$?
if [ $stat -ne 0 ]; then
echo "error ${stat} copying ${coinname}3d into /usr/local/bin/${pcdversion}"
else
echo "installed into: /usr/local/bin/${pcdversion}"
fi
exit 0
else
echo "cannot install: ${PWD}/${coinname}3d is not readable"
exit 2
fi
else
echo "unrecognized option: ${1}"
exit 1
fi