comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: configure ssl in AWS on Windows?
Date: Thu, 28 Sep 2017 13:27:55 +0200
Date: 2017-09-28T13:27:55+02:00	[thread overview]
Message-ID: <oqimbr$8vj$1@dont-email.me> (raw)
In-Reply-To: <ad191447-8271-4a67-85cb-220da1b7a9fa@googlegroups.com>

On 2017-09-28 00:57, Stephen Leake wrote:
> I'm trying to enable ssl in AWS on Windows 8, with GNAT GPL 2016.
> Has anyone succeeded at this?

Yes. some time ago.
This is what I did


Notes on installing AWS 3.1 on Windows with ssl-support

* I use mingw ...

Untar/unzip aws

tar xvzf aws-gpl-3.1.0-src.tgz

In AWS root folder change file makefile.conf

# bnl
ENABLE_SHARED = false
#ENABLE_SHARED=$(shell $(GNAT) make -c -q -p \
#               -Pconfig/setup/test_shared 2>/dev/null && echo "true")
...
#bnl
#SOCKET = std
SOCKET  = openssl


I'm not sure about ENABLE_SHARED, but I did change it.



install openssl
http://www.openssl.org points at
http://www.slproweb.com/products/Win32OpenSSL.html

and http://www.microsoft.com/en-us/download/confirmation.aspx?id=29

for redistributionals
download and install both


I installed openssl in
c:\openssl-win32


Now , a bit ugly, but -
put libssl32.dll and libeay32.dll in C:\bnl\tools\gnat\7.1.1\lib
from  c:\openssl-win32

or where-ever the gnat install is

another trick

from a bash-shell. Yes really, I did not succeed outside bash

export C_INCLUDE_PATH=c:/OpenSSL-Win32/include
make setup
make
make install

And that should be all.

-- 
--
Björn

      parent reply	other threads:[~2017-09-28 11:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 22:57 configure ssl in AWS on Windows? Stephen Leake
2017-09-28  5:41 ` Re : " Pascal Obry
2017-09-28  7:16   ` Dmitry A. Kazakov
2017-09-28 16:51     ` Shark8
2017-09-28 17:14       ` Dmitry A. Kazakov
2017-10-03  7:37     ` gautier_niouzes
2017-10-03  8:07       ` Dmitry A. Kazakov
2017-10-03 17:22         ` Re : " Pascal Obry
2017-10-03 19:25           ` Dmitry A. Kazakov
2017-10-04 10:20             ` Re : " Pascal Obry
2017-09-28 11:27 ` Björn Lundin [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox