Place this script file in the root directory of the coin. This ONLY works for coins with the depends folder in the root directory of the coin. Also place root directory in this directory below.
/usr/local/bin
It MUST also be logged in as ROOT to avoid errors. (Currently updating to avoid root) If you are having errors for permissions still, that means that the github was not properly uploaded with correct executable permissions use sudo chmod 777 -R * to fix in the base coin directory.
sudo su root
The big list of Repos, there are more but start with these.
sudo wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/update_system.sh
sudo chmod +x update_system.sh
sudo ./update_system.sh
Source list is from: https://github.com/bitcoin/bitcoin/blob/master/depends/README.md If versions cannot be found example 4.8, replace the 4.8 with the * symbol
sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python-setuptools
sudo apt-get install curl g++-aarch64-linux-gnu g++-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf gcc-4.8-arm-linux-gnueabihf binutils-arm-linux-gnueabihf g++-4.8-multilib gcc-4.8-multilib binutils-gold bsdmainutils g++-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-aarch64-linux-gnu
sudo wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/master_build_script.sh
sudo chmod +x master_build_script.sh
sudo ./master_build_script.sh
wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/linux64_compile.sh
chmod +x linux64_compile.sh
./linux64_compile.sh
wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/win64QT_compile.sh
chmod +x win64QT_compile.sh
./win64QT_compile.sh
wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/win32QT_compile.sh
chmod +x win32QT_compile.sh
./win32QT_compile.sh
No strip needed after compile. This method makes the QT, daemon, cli, and tx files. Send to Mac then do chmod +x filename then run the file.
wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/MacOSX_allfiles_QT_compile.sh
chmod +x MacOSX_allfiles_QT_compile.sh
./MacOSX_allfiles_QT_compile.sh
Don't forget the dependcies!
wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/ARM32_compile.sh
chmod +x ARM32_compile.sh
./ARM32_compile.sh
Don't forget the dependcies!
wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/ARM64_compile.sh
chmod +x ARM64_compile.sh
./ARM64_compile.sh
Change lines 147 and 179 from __atomic_compare_exchange to __atomic_compare_exchange_db
Packages to install per: https://github.com/laanwj/bitcoin-qt/blob/master/doc/readme-qt.rst
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
sudo apt-get install -y qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
libssl-dev
Then run these commands in the coins base directory:
qmake
make
QT file can be found in base folder of the coin source.