From ef9fbdc9c2b95a429de12989671afce86dfdb676 Mon Sep 17 00:00:00 2001 From: MMGen Date: Sat, 9 Feb 2019 17:50:08 +0000 Subject: [PATCH] modified: Altcoin-and-Forkcoin-Support.md modified: Install-MMGen-on-Debian-or-Ubuntu-Linux.md --- Altcoin-and-Forkcoin-Support.md | 28 ++++++++++++---------- Install-MMGen-on-Debian-or-Ubuntu-Linux.md | 16 ------------- 2 files changed, 16 insertions(+), 28 deletions(-) diff --git a/Altcoin-and-Forkcoin-Support.md b/Altcoin-and-Forkcoin-Support.md index ce43780..c494a22 100644 --- a/Altcoin-and-Forkcoin-Support.md +++ b/Altcoin-and-Forkcoin-Support.md @@ -1,5 +1,3 @@ -#### [*Note for Armbian systems*](Install-MMGen-on-Debian-or-Ubuntu-Linux#a_a) - ## Table of Contents #### [Full support for Ethereum (ETH), Ethereum Classic (ETC) and ERC20 Tokens](#a_eth) @@ -133,11 +131,11 @@ To transact ETH instead of EOS, omit the `--token` arguments. ##### Install the Solidity compiler -To deploy Ethereum contracts with MMGen, you need version 0.5.3 of the Solidity -compiler (`solc`) installed on your system. The best way to ensure you have the -correct version is to compile it from source. Alternatively, on Ubuntu 18.04 -systems a binary distribution is also available, and instructions for installing -it are provided below. +To deploy Ethereum contracts with MMGen, you need between **v0.5.1** and +**v0.5.3** of the the Solidity compiler (`solc`) installed on your system. The +best way to ensure you have the correct version is to compile it from source. +Alternatively, on Ubuntu 18.04 systems a binary distribution is also available, +and instructions for installing it are provided below. ##### *Compile solc from source:* @@ -145,13 +143,19 @@ Clone the repository and build: $ git clone --recursive https://github.com/ethereum/solidity.git $ cd solidity - $ git checkout v0.5.3 - $ ./scripts/install_deps.sh # RPi users: Edit this script, adding DISTRO='Debian' after line 55 + $ git checkout v0.5.1 + $ ./scripts/install_deps.sh $ mkdir build $ cd build - $ cmake .. - $ make - $ sudo make install + $ cmake -DUSE_CVC4=OFF -DUSE_Z3=OFF .. + $ make solc + $ sudo install -v --strip solc/solc /usr/local/bin + +*Raspbian Stretch users must make the following edits for the build to succeed:* + +> './scripts/install_deps.sh': Add `DISTRO='Debian'` after line 55 +> 'libdevcore/Common.h': Change `BOOST_VERSION < 106500` to `BOOST_VERSION < 106200` +> 'cmake/EthDependencies.cmake': Change `Boost 1.65.0` to `Boost 1.62.0` ##### *Install solc from binary distribution (Ubuntu 18.04):* diff --git a/Install-MMGen-on-Debian-or-Ubuntu-Linux.md b/Install-MMGen-on-Debian-or-Ubuntu-Linux.md index f257c5d..ba6b361 100644 --- a/Install-MMGen-on-Debian-or-Ubuntu-Linux.md +++ b/Install-MMGen-on-Debian-or-Ubuntu-Linux.md @@ -24,27 +24,11 @@ $ sudo ./setup.py install $ cd .. -> The following permission fixes may be required for Armbian systems: - - $ sudo chmod o+rx /usr/local/share/mmgen - $ sudo find /usr/local/lib/python3.6/dist-packages/mmgen -exec chmod o+r {} \; - $ sudo find /usr/local/lib/python3.6/dist-packages/mmgen -type d -exec chmod o+x {} \; - > Install the bitcoind daemon(s): > To install prebuilt binaries, go [here][01]. To install from source, go > [here][02]. -#### *Note for Armbian systems:* - -> Due to a bug in the Python setup implementation in current Armbian -> distributions, the following permission fixes may be required after installing -> Python packages from source or via pip. For versions of Python other than -> 3.6, fix the paths to suit: - - $ sudo find /usr/local/lib/python3.6/dist-packages -exec chmod o+r {} \; - $ sudo find /usr/local/lib/python3.6/dist-packages -type d -exec chmod o+x {} \; - #### *Note for offline machines:* > Naturally, your offline machine must be connected to the Internet to retrieve