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.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Received: by 10.236.174.166 with SMTP id x26mr12113519yhl.30.1412628330490; Mon, 06 Oct 2014 13:45:30 -0700 (PDT) X-Received: by 10.140.98.237 with SMTP id o100mr825qge.37.1412628330469; Mon, 06 Oct 2014 13:45:30 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!s7no954670qap.0!news-out.google.com!q8ni43qal.1!nntp.google.com!s7no954669qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 6 Oct 2014 13:45:30 -0700 (PDT) In-Reply-To: <2YyXv.259296$8M5.213334@fx09.fr7> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=50.111.113.147; posting-account=Ies7ywoAAACcdHZMiIRy0M84lcJvfxwg NNTP-Posting-Host: 50.111.113.147 References: <2YyXv.259296$8M5.213334@fx09.fr7> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <706f753e-2c0d-45a8-b07f-95db13816b9a@googlegroups.com> Subject: Re: gtkada working on a Ubuntu Machine.... ??&##?!!!! From: brbarkstrom@gmail.com Injection-Date: Mon, 06 Oct 2014 20:45:30 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 2964 X-Received-Body-CRC: 25493048 Xref: news.eternal-september.org comp.lang.ada:22152 Date: 2014-10-06T13:45:30-07:00 List-Id: On Friday, October 3, 2014 11:06:39 AM UTC-4, Phil wrote: > Hello again, > > > > I am wondering if someone can give me some pointers on the best way to > > get gtkada properly installed. On either windows or Ubuntu. > > I have run the program below on a Ubuntu 12.04 box, and get the message > > file "gtkada.ads" not found. error message and sample program below. > > > > I was never really confident the installation was done correctly. As the > > ubuntu software centre already has some components installed or my > > meddling, and I may have doubled up with a download from Adacore. Was it > > done in the correct order and with correct paths etc set. > > > > Any suggestion on what to check first? > > > > > > gnatmake -d -P/home/ada/ADAprojects/test1001project.gpr > > gcc-4.6 -c -I- -gnatA /home/ada/ADAprojects/test1001.adb > > test1001.adb:1:06: file "gtkada.ads" not found > > gnatmake: "/home/ada/ADAprojects/test1001.adb" compilation error > > > > [2014-10-03 18:20:40] process exited with status 4 (elapsed time: 00.10s) > > > > > > ------------------------------------ > > with gtkada; > > > > --Test1001.adb > > procedure test1001 is > > > > begin > > null; > > end; You probably need to be careful about packages. AdaCore's GNAT is different from Debian's packages. The treatment of configuration management has centralized control on the four usual Linux versions including Debian - Ubuntu; AdaCore's GNAT follows a different model where the compilation units have metadata. The usual package managers do the metadata on the Linux distribution packages, which almost certainly have coarser granularity than AdaCore. There's the additional complexity of which release is being used by the package maintainers. It's a complex business. Bruce B.