[AWS] building applications to use ssl/https
Alex Watkins
alex_watkins@hotmail.com
Fri, 20 Feb 2004 17:31:38 +0000
Hi
I am trying to make an application using a secure (https) server. It does
not work. It compiles but when I run it I get the message:
raised PROGRAM_ERROR : AWS has been configured without SSL support.
Now, what is strange is that the demo 'runme' works fine. This demo uses 2
servers in 1 application - one http & the other https. That is, it works
fine *unless* I recompile it using my normal compilation options - then I
get the error detailed above. Which must mean that AWS *is* configured with
SSL support, as it builds the demos when it is installed. And that something
is going wrong with my compilation. Or ssl support has become corrupted?
My batch file for compiling with AWS 1.4 under Win XP is:
set ADA_INCLUDE_PATH=c:\aws\include; c:\aws\components
set ADA_OBJECT_PATH=c:\aws\lib
gnatmake %1 -Ic:\aws\components -Lc:\aws\lib -largs -laws -lssl -lcrypto
I have not set LD_LIBRARY_PATH as I don't know how to set it. I tried
setting it to the 3 main AWs subfolders (/include, /components, /lib) but it
made no difference.
Any ideas?
I just tried building it in Cygwin but no difference.
Many thanks
Alex
_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo