Bug#387899: As I undestand ssl-thin.ads must be added as alternative.

2006-09-17 Thread Olleg Samoylov
Package: libaws-dev
Version: 2.2-1
Severity: serious

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.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8-smp
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages libaws-dev depends on:
ii  gnat-4.14.1.1-10 The GNU Ada compiler
ii  libaws2.2   2.2-1Ada Web Server shared library
ii  libgnutls-dev   1.4.3-2  the GNU TLS library - development 
ii  libldap2-dev2.1.30-13+b1 OpenLDAP development libraries
ii  libxmlada2-dev  2.2-6XML/Ada, a full XML suite for Ada 
ii  zlib1g-dev  1:1.2.3-13   compression library - development

Versions of packages libaws-dev recommends:
ii  libaws-bin2.2-1  Ada Web Server utilities

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#387899: As I undestand ssl-thin.ads must be added as alternative.

2006-09-17 Thread Ludovic Brenta
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]