sudo apt -y update && sudo apt -y install build-essential libssl-dev libdb++-dev libboost-all-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev libgmp-dev libgmp3-dev autoconf autogen automake libtool autotools-dev pkg-config bsdmainutils software-properties-common libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev -y
git clone https://github.com/sucremoneda/SucreCore.git
cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure # or ./configure --without-gui
make
Going to try today later, but wasn't easier to replace directly in the repo the secp256k1 folder?
Finally found the problem, you can skip the DASH fix (for new installation)
If you want to fix your current git clone (see below)
git clone https://github.com/dashpay/dash.git # (to fix a bug in secp256k1)
rm -rf ~/SucreCore/src/secp256k1
cp -r ~/dash/src/secp256k1 ~/SucreCore/src/secp256k1