From bd7df436309ed5d91b38f3ca54e22f009dc12105 Mon Sep 17 00:00:00 2001 From: philemon Date: Fri, 9 Dec 2016 19:17:02 +0300 Subject: [PATCH] modified: Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md modified: Install-MMGen-and-Its-Dependencies-on-Windows-XP.md modified: Install-MinGW-and-MSYS-on-Windows-XP.md modified: man-addrgen.md modified: man-addrimport.md modified: man-keygen.md modified: man-passchg.md modified: man-tool.md modified: man-txcreate.md modified: man-txsend.md modified: man-txsign.md modified: man-walletchk.md modified: man-walletconv.md modified: man-walletgen.md --- ...d-Its-Dependencies-on-Microsoft-Windows.md | 5 +- ...MGen-and-Its-Dependencies-on-Windows-XP.md | 48 +++++++++++++++---- Install-MinGW-and-MSYS-on-Windows-XP.md | 8 ++-- man-addrgen.md | 2 +- man-addrimport.md | 2 +- man-keygen.md | 2 +- man-passchg.md | 2 +- man-tool.md | 2 +- man-txcreate.md | 2 +- man-txsend.md | 2 +- man-txsign.md | 2 +- man-walletchk.md | 2 +- man-walletconv.md | 2 +- man-walletgen.md | 2 +- 14 files changed, 58 insertions(+), 25 deletions(-) diff --git a/Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md b/Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md index 6177224..7f5280d 100644 --- a/Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md +++ b/Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md @@ -165,8 +165,8 @@ Get the [zip archive][10] of the latest stable version from GitHub, unpack and i $ python setup.py build --compiler=mingw32 $ sudo ./setup.py install -If you wish, you may run the MMGen test suite to make sure your installation's -working: +After first installing and starting the [Bitcoin daemon][77], you may then run +the MMGen test suite to make sure your installation's working: $ test/test.py -s @@ -184,3 +184,4 @@ working: [31]: https://sourceforge.net/projects/mingw/files/MinGW/Extension/autoconf/autoconf2.5/autoconf2.5-2.68-1/autoconf2.5-2.68-1-mingw32-bin.tar.lzma [32]: https://sourceforge.net/projects/mingw/files/MinGW/Extension/automake/automake1.11/automake1.11-1.11.1-1/automake1.11-1.11.1-1-mingw32-bin.tar.lzma [33]: https://sourceforge.net/projects/mingw/files/MinGW/Extension/libtool/libtool-2.4-1/libtool-2.4-1-mingw32-bin.tar.lzma +[77]: Install-Bitcoind diff --git a/Install-MMGen-and-Its-Dependencies-on-Windows-XP.md b/Install-MMGen-and-Its-Dependencies-on-Windows-XP.md index b52f05c..b76fef9 100644 --- a/Install-MMGen-and-Its-Dependencies-on-Windows-XP.md +++ b/Install-MMGen-and-Its-Dependencies-on-Windows-XP.md @@ -14,8 +14,8 @@ Add the Python base and Scripts directories to your [path][08], e.g. Enter your MSYS environment, create the directory `/c/build` and move to it. This is where you'll be unpacking and building archives: - $ mkdir /c/build - $ cd /c/build + $ mkdir /build + $ cd /build ### 2. Build OpenSSL: @@ -64,7 +64,7 @@ module, we have to do this little workaround: Download the latest pycrypto [tarball][02] from the Python website, unpack and build: - $ cd /c/build + $ cd /build $ tar -xzf /pycrypto-2.6.1.tar.gz $ cd pycrypto-2.6.1 $ python setup.py build --compiler=mingw32 @@ -74,7 +74,7 @@ Download the latest pycrypto [tarball][02] from the Python website, unpack and b Grab the latest python-ecdsa [tarball][03], unpack and build: - $ cd /c/build + $ cd /build $ tar -xzf /ecdsa-0.13.tar.gz $ cd ecdsa-0.13 $ python setup.py install @@ -83,22 +83,53 @@ Grab the latest python-ecdsa [tarball][03], unpack and build: Grab the colorama [tarball][14], unpack and build: - $ cd /c/build + $ cd /build $ tar -xzf /colorama-0.3.7.tar.gz $ cd /c/colorama-0.3.7 $ python setup.py install -### 8. Install MMGen: +### 8. Install the pexpect Python module (needed for test suite): + +Grab the latest pexpect [tarball][15], unpack and build: + + $ cd /build + $ tar -xzf /pexpect-4.2.1.tar.gz + $ cd pexpect-4.2.1 + $ python setup.py install + +### 9. Build libsecp256k1: + +First we need to fix up some filenames for our build to work: + + $ cd /mingw/bin + $ cp autoconf-* autoconf + $ cp automake-* automake + $ cp aclocal-* aclocal + $ cp autoreconf-* autoreconf + +Now get the latest libsecp256k1 [zip archive][11] from GitHub, unpack, build and +install: + + $ cd /build + $ unzip.exe /master.zip + $ cd secp256k1-master + $ ./autogen.sh + $ ./configure + $ make + $ make install + +### 10. Install MMGen: Get the [zip archive][10] from GitHub, unpack and install: - $ cd /c/build + $ cd /build $ unzip.exe /stable_mswin.zip $ cd mmgen-stable_mswin $ python setup.py build --compiler=mingw32 $ python setup.py install -If you wish, you may run the MMGen test suite to make sure everything's working: +After first installing and starting the [Bitcoin daemon][77], you may then run +the MMGen test suite to make sure your installation's working: $ test/test.py @@ -113,3 +144,4 @@ If you wish, you may run the MMGen test suite to make sure everything's working: [13]: Getting-Started-with-MMGen [14]: https://pypi.python.org/packages/f0/d0/21c6449df0ca9da74859edc40208b3a57df9aca7323118c913e58d442030/colorama-0.3.7.tar.gz#md5=349d2b02618d3d39e5c6aede36fe3c1a [20]: https://github.com/mmgen/MMGenLive +[77]: Install-Bitcoind diff --git a/Install-MinGW-and-MSYS-on-Windows-XP.md b/Install-MinGW-and-MSYS-on-Windows-XP.md index 5b7e345..1030be5 100644 --- a/Install-MinGW-and-MSYS-on-Windows-XP.md +++ b/Install-MinGW-and-MSYS-on-Windows-XP.md @@ -7,17 +7,17 @@ Complete hypertexted lists of the required MinGW and MSYS archive files are provided below for convenient downloading. Save the archives into two separate temporary directories (`mingw` and `msys`, for example). -These lists were checked and known to work at the time of this writing (November +These lists were checked and known to work at the time of this writing (December 2016). More recent versions of the files are available in the [MinGW repository][01], and an auto-installer can be found there as well. However, -these instructions are designed to work on an offline computer, for which the -auto-installer cannot be used. +these instructions will work on an offline computer, while the auto-installer +will not. > * [MinGW archive list][02] > * [MSYS archive list][03] Unpack the basic-bsdtar archive (in the MinGW archives) and copy the executable -`basic-bsdtar.exe` to your path (e.g. `C:\windows\system32`). +`basic-bsdtar.exe` to your path (e.g. `C:\windows`). From the DOS prompt (i.e. “Command Line”), create the two base directories and move to the first of them: diff --git a/man-addrgen.md b/man-addrgen.md index 9d303a2..90c1e7e 100644 --- a/man-addrgen.md +++ b/man-addrgen.md @@ -52,4 +52,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.8.8 November 2016 MMGEN-ADDRGEN(1) + MMGEN v0.8.9 December 2016 MMGEN-ADDRGEN(1) diff --git a/man-addrimport.md b/man-addrimport.md index 7d769b3..fea80da 100644 --- a/man-addrimport.md +++ b/man-addrimport.md @@ -17,4 +17,4 @@ The --batch and --rescan options cannot be used together. - MMGEN v0.8.8 November 2016 MMGEN-ADDRIMPORT(1) + MMGEN v0.8.9 December 2016 MMGEN-ADDRIMPORT(1) diff --git a/man-keygen.md b/man-keygen.md index e97eee8..a49963e 100644 --- a/man-keygen.md +++ b/man-keygen.md @@ -53,4 +53,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.8.8 November 2016 MMGEN-KEYGEN(1) + MMGEN v0.8.9 December 2016 MMGEN-KEYGEN(1) diff --git a/man-passchg.md b/man-passchg.md index e19bc35..16e5c86 100644 --- a/man-passchg.md +++ b/man-passchg.md @@ -42,4 +42,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.8.8 November 2016 MMGEN-PASSCHG(1) + MMGEN v0.8.9 December 2016 MMGEN-PASSCHG(1) diff --git a/man-tool.md b/man-tool.md index d5b77e9..4dc1b67 100644 --- a/man-tool.md +++ b/man-tool.md @@ -80,4 +80,4 @@ Type 'mmgen-tool help for help on a particular command - MMGEN v0.8.8 November 2016 MMGEN-TOOL(1) + MMGEN v0.8.9 December 2016 MMGEN-TOOL(1) diff --git a/man-txcreate.md b/man-txcreate.md index 74d7d80..303e8a9 100644 --- a/man-txcreate.md +++ b/man-txcreate.md @@ -33,4 +33,4 @@ To send the value of all inputs (minus TX fee) to a single output, specify one address with no amount on the command line. - MMGEN v0.8.8 November 2016 MMGEN-TXCREATE(1) + MMGEN v0.8.9 December 2016 MMGEN-TXCREATE(1) diff --git a/man-txsend.md b/man-txsend.md index aec6797..5648478 100644 --- a/man-txsend.md +++ b/man-txsend.md @@ -6,4 +6,4 @@ -d, --outdir d Specify an alternate directory 'd' for output -q, --quiet Suppress warnings; overwrite files without prompting - MMGEN v0.8.8 November 2016 MMGEN-TXSEND(1) + MMGEN v0.8.9 December 2016 MMGEN-TXSEND(1) diff --git a/man-txsign.md b/man-txsign.md index e7db443..ed54a11 100644 --- a/man-txsign.md +++ b/man-txsign.md @@ -65,4 +65,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.8.8 November 2016 MMGEN-TXSIGN(1) + MMGEN v0.8.9 December 2016 MMGEN-TXSIGN(1) diff --git a/man-walletchk.md b/man-walletchk.md index f3b0159..4a85766 100644 --- a/man-walletchk.md +++ b/man-walletchk.md @@ -41,4 +41,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.8.8 November 2016 MMGEN-WALLETCHK(1) + MMGEN v0.8.9 December 2016 MMGEN-WALLETCHK(1) diff --git a/man-walletconv.md b/man-walletconv.md index 1712b75..acdde98 100644 --- a/man-walletconv.md +++ b/man-walletconv.md @@ -51,4 +51,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.8.8 November 2016 MMGEN-WALLETCONV(1) + MMGEN v0.8.9 December 2016 MMGEN-WALLETCONV(1) diff --git a/man-walletgen.md b/man-walletgen.md index 98241ff..f6105c4 100644 --- a/man-walletgen.md +++ b/man-walletgen.md @@ -44,4 +44,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.8.8 November 2016 MMGEN-WALLETGEN(1) + MMGEN v0.8.9 December 2016 MMGEN-WALLETGEN(1)