From ef80f463c2d1f4f76dc1eb5a15baca3114758aa4 Mon Sep 17 00:00:00 2001 From: wtoorop Date: Thu, 3 Nov 2016 14:19:49 +0100 Subject: [PATCH] Update README.md Properly format MS-Windows build instructions. Thanks Christian Huitema --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 623a786f..1b5a4807 100644 --- a/README.md +++ b/README.md @@ -261,29 +261,30 @@ The build has been tested using the following: 32 bit only Mingw: [Mingw(3.21.0) and Msys 1.0](http://www.mingw.org/) on Windows 8.1 32 bit build on a 64 bit Mingw [Download latest from: http://mingw-w64.org/doku.php/download/mingw-builds and http://msys2.github.io/]. IMPORTANT: Install tested ONLY on the "x86_64" for 64-bit installer of msys2. -Dependencies: +#### Dependencies: The following dependencies are -openssl-1.0.2e -libidn +* openssl-1.0.2j +* libidn -Instructions to build openssl-1.0.2e: +Instructions to build openssl-1.0.2j: Open the mingw32_shell.bat from msys2 in order to build: If necessary, install the following using pacman: -pacman -S pkg-config libtool automake -pacman -S autoconf automake-wrapper - tar -xvf openssl-1.0.2e.tar -cd openssl-1.0.2e/ -./Configure --prefix=${LOCALDESTDIR} --openssldir=${LOCALDESTDIR}/etc/ssl --libdir=lib shared zlib-dynamic mingw -make -make install + pacman -S pkg-config libtool automake + pacman -S autoconf automake-wrapper + + tar -xvf openssl-1.0.2j.tar + cd openssl-1.0.2j/ + ./Configure --prefix=${LOCALDESTDIR} --openssldir=${LOCALDESTDIR}/etc/ssl --libdir=lib shared zlib-dynamic mingw + make + make install To configure: ./configure --enable-stub-only --with-trust-anchor="c:\\\MinGW\\\msys\\\1.0\\\etc\\\unbound\\\getdns-root.key" --with-ssl= --with-getdns_query - The trust anchor is also installed by unbound on c:\program Files (X86)\unbound\root.key and can be referenced from there + The trust anchor is also installed by unbound on `c:\program Files (X86)\unbound\root.key` and can be referenced from there or anywhere else that the user chooses to configure it. After configuring, do a `make` and `make install` to build getdns for Windows.