From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,853ec3ba069257ab X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!feeder.news.orange.fr!not-for-mail Date: Sat, 15 May 2010 11:49:15 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: AWS install problems References: <9v2dnUexZ9qxjHPWnZ2dnUVZ_r2dnZ2d@giganews.com> In-Reply-To: <9v2dnUexZ9qxjHPWnZ2dnUVZ_r2dnZ2d@giganews.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4bee6e04$0$27604$ba4acef3@reader.news.orange.fr> NNTP-Posting-Date: 15 May 2010 11:48:52 CEST NNTP-Posting-Host: 82.124.202.252 X-Trace: 1273916932 reader.news.orange.fr 27604 82.124.202.252:14429 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:11631 Date: 2010-05-15T11:48:52+02:00 List-Id: Brett, > I'm trying to install the AWS package so that I might try eMail > access from an Ada program, > > I'm using GNAT/GPS 2005 under Sidux 2009-4 GNAT version is a bit old! Nothing more recent? > I apt-get to installed the various GNAT AWS files from the Debian > repository without problems, however when trying to access the AWS > functions I encountered a few problems. Not sure which package you are referring to. But if the Debian sources are quite up-to-date (which I think is the case), you'll be into trouble with GNAT GPL from 2005! It is quite difficult to give advices with such old compiler as many things have improved since then. Thecurrent AWS build procedure may not be compatible with this version for example. > I copied the example program 'Test_Mail.adb' from the downloaded Aws > file from AdaCore site to use as a base learning tool. > > During the compilation phase I ran into a few missing files, which > was a bit disconcerting as I assumed the installed software was > complete and tested. ?!? > > Missing were: aws_os_lib.ads ( I found a file > aws_os-lib_definitions.ads ) ssl_thin.ads ( I found a few > ssl_??.abs files, so I chose ssl_thin_openssl.ads ) > > So I copied the found files and renamed them as required, I realize > this might cause later problems but I was interested to see if the > compile would proceed. It did without errors, until the following: > > gnatmake -g -d -P/home/brett/Ada-eMail/test_mail.gpr test_mail.adb > gcc-4.4 -c -g -I- -gnatA > /usr/share/ada/adainclude/aws/aws-translator.adb cannot generate code > for file aws-translator.adb (missing subunits) to check parent unit > for errors, use -gnatc aws-translator.adb:402:04: warning: subunit > "AWS.TRANSLATOR.CONVERSION" in file "aws-translator-conversion.adb" > not found gnatmake: > "/usr/share/ada/adainclude/aws/aws-translator.adb" compilation error > > [2010-05-15 12:50:23] process exited with status 4 (elapsed time: > 01.51s) > > This error is beyond my limited Ada knowledge to even contemplate a > quick 'fix' Looks like the installed AWS project files are not correct as they do not respect the naming convention of some units. You may get better support on the AWS mailing-list. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B