I did something like:
Compile Tcl 8.6.11
----------------------

1. Download sources and extract to D:\NSWIN\SRC\tcl8.6.11
2. Run Visual Studio "x64 Native Tools Command Prompt for VS 2019" as
Administrator
3. Change directory to D:\NSWIN\SRC\tcl8.6.11\win
4. nmake -f makefile.vc INSTALLDIR=C:\NS\Tcl8.6.11
5. nmake -f makefile.vc install INSTALLDIR=C:\NS\Tcl8.6.11

Compile Tk 8.6.11
----------------------
1. Download sources and extract to D:\NSWIN\SRC\tk8.6.11
2. Run Visual Studio "x64 Native Tools Command Prompt for VS 2019" as
Administrator
3. Change directory to D:\NSWIN\SRC\tk8.6.11\win
4. nmake -f makefile.vc INSTALLDIR=C:\NS\Tcl8.6.11
5. nmake -f makefile.vc install INSTALLDIR=C:\NS\Tcl8.6.11

OpenSSL
----------------------
1. Download sources and extract to D:\NSWIN\SRC\openssl-master
2. Download and install Strawberry Perl (dont use ActivePerl, something
wrong with that)
3. Download and install NASM
4. Add Perl and NASM to the windows Path in Windows System Properties,
reboot to be sure :)
5. Run Visual Studio "x64 Native Tools Command Prompt for VS 2019" as
Administrator
6. Change directory to D:\NSWIN\SRC\openssl-master
7. Install some Perl dependencies:
a) cpan -i Text::Template
b) cpan -i Test::More
8. perl Configure VC-WIN64A --prefix=C:\NS\OpenSSL
--openssldir=C:\NS\OpenSSL\SSL
9. nmake (and go grab some coffee)
10. nmake test (More Coffee!!)
11. nmake install_sw

After that downloaded naviserver source, edit Makefile.win32,
include\Makefile.win32, changed path to tcl and openssl and compiled with
nmake

On Thu, Mar 4, 2021 at 2:56 PM Andrew Piskorski <a...@piskorski.com> wrote:

>
> The Tcl version should not really matter, I just install whatever the
> latest stable ActiveTcl is for Windows.  I believe the latest I've
> used was 8.6.x, which I installed into "C:\P\Tcl-64-8.6\".  It should
> also work to compile Tcl yourself on Windows, but I haven't tried that
> in many years.
>
>
> For Oracle on Windows, I installed the Oracle "Instant Client" version
> 19.6.0.0.0 a while back.  This was 4 separate zip files:
>
>   instantclient-basiclite-windows.x64-19.6.0.0.0dbru.zip
>   instantclient-sdk-windows.x64-19.6.0.0.0dbru.zip
>   instantclient-sqlplus-windows.x64-19.6.0.0.0dbru.zip
>   instantclient-tools-windows.x64-19.6.0.0.0dbru.zip
>
> To install, I simply unzipped all of those into a tmp directory, which
> created an "instantclient_19_6" directory.  Then I copied the whole
> "instantclient_19_6" directory into "C:\P\oracle\".
> The "nsoracle/Makefile.win32" has this line to use it:
>
>   ORACLE_HOME = C:\P\oracle\instantclient_19_6
>
>
> For OpenSSL, back in Windows XP days I did compile it on Windows, and
> as far as I recall that worked, although the compile was VERY slow,
> and I had to install various support tools first (NASM Assembler,
> etc.).  More recently I've only installed binary OpenSSL builds on
> Windows.
>
> I've used this OpenSSL for Windows:
>
>   http://www.slproweb.com/products/Win32OpenSSL.html
>
> There are also binaries for the older 1.0.2 OpenSSL line, here, but I
> don't think I ever actually used them:
>
>   https://indy.fulgan.com/SSL/
>
> See also OpenSSL's own list of Windows Binary Builds:
>
>   https://wiki.openssl.org/index.php/Binaries
>
> Old Win32OpenSSL instructions said to install the Visual C++ 2008
> Redistributable Package via its "vcredist_x64.exe" and
> "vcredist_x86.exe" web installers:
>
>   x64: http://www.microsoft.com/en-us/download/details.aspx?id=15336
>   x86: http://www.microsoft.com/en-us/download/details.aspx?id=29
>
> But of course these days should probably be using the 64-bit "Visual
> C++ 2017 Redistributable" or something even newer instead.  (Read
> their current instuctions.)
>
> Around 2019-01, I installed the (at the time) latest
> "Win64OpenSSL-1_1_1a.exe" and "Win32OpenSSL-1_1_1a.exe" into
> "C:\P\OpenSSL-Win64\".  When it asked my where to "Copy OpenSSL DLLs
> to:" I always pick "The OpenSSL binaries (/bin) directory", NOT the
> default "Windows system directory".
>
> --
> Andrew Piskorski <a...@piskorski.com>
>
>
> _______________________________________________
> naviserver-devel mailing list
> naviserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to