Olleg Samoylov <[EMAIL PROTECTED]> writes: > I can't compile aws application. > > rateme.adb:4:06: file "ssl-thin.ads" not found > rateme.adb:4:06: "Rateme (body)" depends on "Aws.Client (spec)" > rateme.adb:4:06: "Aws.Client (spec)" depends on "Aws.Net.Ssl (spec)" > rateme.adb:4:06: "Aws.Net.Ssl (spec)" depends on "Ssl.Thin (spec)" > > But exists files ssl-thin__dummy.ads, ssl-thin__gnutls.ads, > ssl-thin__openssl.ads. As I undestand they are alternatives for > ssl-thin.ads and must be added debian "alternative" for this.
No, because this is a compile-time "alternative"; the Debian alternatives system only deals with run-time "alternatives". Moreover, you don't really have a choice; due to licensing requirements, I have linked libaws2.2 against libgnutls13 and so AWS will always use GNU TLS instead of OpenSSL. The proper thing to do is to add a package Naming in a project file. In fact, it should be /usr/share/ada/adainclude/aws.gpr; I'll correct that problem. In the mean time, you can try to add this to your project file: with "aws.gpr"; project Rateme is [...] package Naming is -- Configuration for GNU/Linux using GNU TLS for strong crypto for Body ("AWS.Net.SSL") use "aws-net-ssl__gnutls.adb"; for Body ("AWS.Net.SSL.Certificate") use "aws-net-ssl-certificate__gnutls.adb"; for Body ("AWS.Net.Std") use "aws-net-std__gnat.adb"; for Body ("AWS.OS_Lib") use "aws-os_lib__gnat.adb"; for Body ("AWS.Translator.Conversion") use "aws-translator-conversion__f.adb"; for Spec ("SSL.Thin") use "ssl-thin__gnutls.ads"; for Spec ("Templates_Parser.Configuration") use "templates_parser-configuration__aws.ads"; end Naming; ... end Rateme; This fix will become unnecessary when I upload the patched AWS. Thanks for pointing the problem to me. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]