Update instructions to include KfW build.

This commit is contained in:
Dave Page 2021-01-20 11:37:12 +00:00
parent 9bee91b6f6
commit ddf7f04c94

View File

@ -17,7 +17,7 @@ Choose the Desktop development with C++ option.
4) Install various command line tools:
choco install -y bzip2 cmake diffutils gzip git innosetup nodejs-lts python strawberryperl wget yarn
choco install -y bzip2 cmake diffutils gawk gnuwin32-coreutils.install gzip git html-help-workshop innosetup nodejs-lts python sed strawberryperl wget yarn
5) Upgrade pip (this may give a permissions error that can be ignored):
@ -27,11 +27,16 @@ pip install --upgrade pip
pip install virtualenv
7) Add the following paths to the system PATH:
C:\Program Files (x86)\GnuWin32\bin
C:\Program Files (x86)\HTML Help Workshop
Building dependencies
=====================
The following steps should be run from a Visual Studio 2017 64bit command
prompt.
prompt (except where noted).
1) Create a directory for the dependencies:
@ -63,7 +68,29 @@ files in C:\Program Files\Common Files\SSL. This is the default directory used
for the OPENSSLDIR, and should not be changed to a directory that un-privileged
users could potentially write to.
4) Download the PostgreSQL source code, unpack and build it:
4) Download the MIT Kerberos source code, unpack and build it:
In a *32bit* Visual Studio 2017 command prompt:
mkdir C:\build64\krb5
cd krb5-1.18.3\src
set KRB_INSTALL_DIR=C:\build64\krb5
nmake -f Makefile.in prep-windows
Optionally, if you want 32bit binaries as well as 64bit:
nmake NODEBUG=1
nmake install NODEBUG=1
In a *64bit* Visual Studio 2017 command prompt:
cd krb5-1.18.3\src
set PATH=%PATH%;"%WindowsSdkVerBinPath%"\x86
set KRB_INSTALL_DIR=C:\build64\krb5
nmake NODEBUG=1
nmake install NODEBUG=1
5) Download the PostgreSQL source code, unpack and build it:
wget https://ftp.postgresql.org/pub/source/v12.3/postgresql-12.3.tar.bz2
tar -zxvf postgresql-12.3.tar.gz