comp.lang.ada
 help / color / mirror / Atom feed
From: Anonymous <anon@anon.org>
Subject: Re: Problems installing/running AdaCore GPS (GPL) in Mandriva 2009
Date: Thu, 25 Jun 2009 17:22:47 +0200
Date: 2009-06-25T17:22:47+02:00	[thread overview]
Message-ID: <4a439647$1@news.broadpark.no> (raw)
In-Reply-To: <Q4F0m.87394$d36.21539@bgtnsc04-news.ops.worldnet.att.net>

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 <anon@anon.org> 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.
> 



  reply	other threads:[~2009-06-25 15:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-24 20:25 Problems installing/running AdaCore GPS (GPL) in Mandriva 2009 Anonymous
2009-06-25  6:48 ` anon
2009-06-25 15:22   ` Anonymous [this message]
2009-06-25 18:38     ` Ludovic Brenta
2009-06-25 19:28       ` sjw
2009-06-25 20:30       ` Anonymous
2009-06-25 21:19         ` Ludovic Brenta
2009-06-25 22:39           ` Anonymous
2009-06-26 10:00             ` Ludovic Brenta
2009-06-26 13:06               ` Anonymous
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox