Giter Club home page Giter Club logo

compile_coins_scripts's Introduction

Compile Coins Scripts

Instructions

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

For MacOS and ARM Builds - Need these

Source list is from: https://github.com/bitcoin/bitcoin/blob/master/depends/README.md

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

Master Compile Script - works, in testing

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

Linux 64 bit (Daemon, TX, CLI, and QT)

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/linux64_compile.sh
chmod +x linux64_compile.sh
./linux64_compile.sh

Windows 64 bit (Daemon, TX, CLI, and QT)

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/win64QT_compile.sh
chmod +x win64QT_compile.sh
./win64QT_compile.sh

Windows 32 bit (Daemon, TX, CLI, and QT)

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/win32QT_compile.sh
chmod +x win32QT_compile.sh
./win32QT_compile.sh

MacOSX QT Wallet (Only for High Sierra and possibly older, Mojave still is not compatible!)

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

ARM-32 / AARCH-32 Bit Wallet (Raspberry Pi) (Daemon, TX, CLI, and QT)

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

ARM-64 / AARCH-64 Bit Wallet (Raspberry Pi) - Doesn't always work, use 32 bit

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

Berkeley DB 4.8.30.nc fix

Change lines 147 and 179 from __atomic_compare_exchange to __atomic_compare_exchange_db

Old Coin Compile

Old Coin Linux 64-bit QT

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.

compile_coins_scripts's People

Contributors

nashsclay avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.