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,start
X-Google-Attributes: gida07f3367d7,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path:
g2news2.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 14 May 2010 22:12:44 -0500
From: brett
Subject: AWS install problems
Newsgroups: comp.lang.ada
UserIpAddress: 202.168.117.52
InternalId: 3abd6cbb-6dee-4b78-9b8d-829640b37466
Message-ID: <9v2dnUexZ9qxjHPWnZ2dnUVZ_r2dnZ2d@giganews.com>
Date: Fri, 14 May 2010 22:12:44 -0500
X-Usenet-Provider: http://www.giganews.com
X-Trace:
sv3-BuoKqv7hOVlqACZiFMFOhhPC2y6AJcw46I9p1oItSsNA6qw4hqVTYfc+ihwv0ISZN3kp8bfz1VgGsM0!77ZF5hQSI96FabGCoyXltgCg4CoZN74np4HlUYP/gTMGwQEQy3JvaFulRwKMutlal/tfWfTQLQ==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
properly
X-Postfilter: 1.3.40
X-Original-Lines: 4
Xref: g2news2.google.com comp.lang.ada:11626
Date: 2010-05-14T22:12:44-05:00
List-Id:
Hello,
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
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.
Note: I have setup the two export variables thus:
brett@sidux94:~$ export
declare -x ADA_INCLUDE_PATH="/usr/share/ada/adainclude"
declare -x ADA_OBJECTS_PATH="/usr/lib/ada/adalib"
I also included the
/usr/share/ada/adainclude
in the GPS Project Properties 'source files' list
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'
Any advice appreciated.
Thanks,
Brett
---
frmsrcurl: http://compgroups.net/comp.lang.ada/