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!news3.google.com!feeder.news-service.com!weretis.net!feeder3.news.weretis.net!eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: AWS install problems Date: Sat, 15 May 2010 12:05:26 +0200 Organization: A noiseless patient Spider Message-ID: <874oi9eazd.fsf@ludovic-brenta.org> References: <9v2dnUexZ9qxjHPWnZ2dnUVZ_r2dnZ2d@giganews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 15 May 2010 10:05:26 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="z95YBe35u1cN58aAoa2/GQ"; logging-data="24765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+pORUb1Ttjjw1TEZLkEEJj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:NwHqby3aEcd1XfWdhQBfnt8ELEg= sha1:H0BRHiFlvGqH916ydrSR2MBMRnA= Xref: g2news2.google.com comp.lang.ada:11632 Date: 2010-05-15T12:05:26+02:00 List-Id: brett writes: > 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 The Debian packages are meant for use with the Debian package "gnat", so you do not need any GPL Edition. Besides, 2005 GPL Edition is ancient by now. I suggest you deinstall it; chances are that you already have the package "gnat" and "gnat-4.4" installed. > 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 This is not the correct way to use the Debian packages and this explains all your problems. Read the proper instructions in the file /usr/share/ada/adainclude/aws.gpr, follow the instructions therein and all your problems will go away. [...] > This error is beyond my limited Ada knowledge to even contemplate a > quick 'fix' Read the Debian Policy for Ada, chapter 6, "Using shared libraries": http://people.debian.org/~lbrenta/debian-ada-policy.html#Using-shared-libraries -- Ludovic Brenta.