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,683a15466da07921 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 25 Jun 2009 17:22:47 +0200 From: Anonymous User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problems installing/running AdaCore GPS (GPL) in Mandriva 2009 References: <4a428bc1@news.broadpark.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 93.80-202-99.nextgentel.com X-Original-NNTP-Posting-Host: 93.80-202-99.nextgentel.com Message-ID: <4a439647$1@news.broadpark.no> X-Trace: news.broadpark.no 1245943367 80.202.99.93 (25 Jun 2009 17:22:47 +0200) Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!newsfeed-fusi2.netcologne.de!news.netcologne.de!newsfeed-hp2.netcologne.de!usenet.hanse.com!nntp.gblx.net!nntp3.phx1!news.broadpark.no!not-for-mail Xref: g2news2.google.com comp.lang.ada:6615 Date: 2009-06-25T17:22:47+02:00 List-Id: Hello, and thanks for your reply. I did add the location of the gnat binaries to my PATH variable as described in the README file. The problems seems to be the binaries themselves. A complete sample of the errormessage would be: bash: ./gnat: cannot execute binary file or /usr/local/gnat/bin/gps: line 66: /usr/local/gnat/gps_exe: cannot execute binary file /usr/local/gnat/bin/gps: line 66: /usr/local/gnat/gps_exe: Success That's the errors when I run gnat or gps respectively. Thanks for the tip about Kate. I will check it out. Regards anon skrev: > You need to add the location of the gnat binaries to your PATH variable. This > should be explained in the README file and the last page of the doinstall > script. > > As for an editor "kate" and use the "terminal" button at bottom of "Kate" to > execute the GNAT programs using the term console. "kate" as a nice color > scheme and font for Ada code. > > Term console command line: > gnat ???? program_name > > where ???? => is either bind, compile, link or make > > Then if link is OK: > ./program_name > > Without GPS, project files are a little involved. > > In <4a428bc1@news.broadpark.no>, Anonymous writes: >> Hello, >> >> I'm new to Ada and I'm having some difficulties with GPS. >> I've downloaded the GNAT x86_64 package for linux from AdaCore's webpage. >> >> When I try to install it (as root) the script (doinstall) runs >> apparently ok, with the exception that it complains about "unable to >> execute binary" for one of the tools. >> >> The installation process continues and appears ok. However when I try to >> execute gnatmake or gps or any other tool I get the same error "unable >> to execute binary". I'm using Mandriva 2009 x86 64bits. Have any of you >> guys had this issue? >> >> Are there any good alternatives (when it comes to IDE) to gps (if I >> can't get that to work)? KDevelop does not install correctly either, but >> I might be able to get around that. I know of the eclipse solution, but >> I'm somewhat reluctant to try that (for no good reason at all). >> >> Regards, >> Newbie. >