Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6797063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:33:44+00:00 2026-05-26T18:33:44+00:00

I installed Ada and AWS on a Macbook for the first time tonight. Everything

  • 0

I installed Ada and AWS on a Macbook for the first time tonight.

Everything seemed successful with the installation, but I’m getting the feeling that AWS didn’t install to the right directory.

GNAT is in /usr/local/gnat.

The AWS makefile.conf said,

AWS will be installed under $(prefix). Update this variable to point to
the install directory. By default, it is set to the current GNAT root
directory to have AWS project files automatically available.

So I didn’t change the target.

But when I try to compile hello_world from anywhere on the system except the AWS demos folder, I get this error:

~/projects/ada:gnatmake hello.adb
gcc -c hello.adb
hello.adb:1:06: file "aws.ads" not found
hello.adb:2:06: file "aws.ads" not found
hello.adb:3:06: file "aws.ads" not found
hello.adb:4:06: file "aws.ads" not found
gnatmake: "hello.adb" compilation error

How can I make sure AWS was installed properly, or move it if it wasn’t?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:33:45+00:00Added an answer on May 26, 2026 at 6:33 pm

    The answer (well, more of a hint to those in the know) lies in the words “to have AWS project files automatically available”.

    In the GNAT context, “project file” means a file of type .gpr which tells the builder (gnatmake or gprbuild) where to find the source files, how to compile them, and where to find any libraries that “this” project depends on.

    Create hello.gpr:

    with "aws";
    project Hello is
       for Main use ("hello.adb");
    end Hello;
    

    (which is very minimal) then

    with AWS;
    with Ada.Text_IO;
    procedure Hello is
    begin
       Ada.Text_IO.Put_Line ("AWS version is " & AWS.Version);
    end Hello;
    

    compiled with

    gprbuild -P hello.gpr
    

    outputs

    AWS version is 2.10.0w
    

    There is on-line information on gprbuild and gnatmake (gnatmake has been superseded by gprbuild); there is probably information in your installed GNAT at (subdirectories of) ${prefix}/share/doc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Installed Magento 1.6.2.0, and noticed that the links are like http://MYSEUPERSTORE.com/ index.php /customer/account/ but
I installed AvalancheImagineBundle for Symfony 2.0. Everything wen't fine except the fact that it
I installed subclipse in eclipse, but I get an error message Expected format '3'
Installed the IronPython tools for VS 2010 but it didn't associate the *.py files
I installed the playframework fbconnect module (version 0.6). I keep getting the following error.
Installed PEAR and followed the directions on http://www.phpunit.de/manual/current/en/installation.html : pear config-set auto_discover 1 pear
I'm trying to learn Ada from Wikibooks. I've downloaded and installed GNAT GPL 2011,
I installed GitHub on mac but I don't have installed git on terminal. When
I installed SVN on a Windows 2008 server, everything works like it should, except
I installed RadRails a while back and uninstalled it after it said that my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.