From df6f81062a8bd218af409c2ff306650937fde8b2 Mon Sep 17 00:00:00 2001 From: philemon Date: Tue, 6 Dec 2016 16:37:27 +0300 Subject: [PATCH] modified: Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md --- ...d-Its-Dependencies-on-Microsoft-Windows.md | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md b/Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md index 8953357..6177224 100644 --- a/Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md +++ b/Install-MMGen-and-Its-Dependencies-on-Microsoft-Windows.md @@ -122,7 +122,40 @@ Grab the latest pexpect [tarball][15], unpack and build: Grab the latest SDelete [zip archive][16], unzip and copy `sdelete.exe` to your execution path (`c:\windows`, for example). -### 9. Install MMGen: +### 9. Build libsecp256k1: + +Libsecp256k1 requires GNU autotools to build, and they're not included in the +MinGW-64 distribution for some reason, so you'll have to retrieve and unpack +them yourself. You'll need these archives: + +> * [autoconf][31] +> * [automake][32] +> * [libtool][33] + +Unpack them in your /mingw directory and fix up some filenames: + + $ cd /mingw + $ tar -xzf /autoconf2.5-2.68-1-mingw32-bin.tar.lzma + $ tar -xzf /automake1.11-1.11.1-1-mingw32-bin.tar.lzma + $ tar -xzf /libtool-2.4-1-mingw32-bin.tar.lzma + $ cd 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] of the latest stable version from GitHub, unpack and install: @@ -147,3 +180,7 @@ working: [15]: https://pypi.python.org/packages/e8/13/d0b0599099d6cd23663043a2a0bb7c61e58c6ba359b2656e6fb000ef5b98/pexpect-4.2.1.tar.gz#md5=3694410001a99dff83f0b500a1ca1c95 [16]: https://download.sysinternals.com/files/SDelete.zip [20]: https://github.com/mmgen/MMGenLive +[11]: https://github.com/bitcoin-core/secp256k1/archive/master.zip +[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