comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Error when running gcc from GPS
Date: Sat, 24 Apr 2010 19:46:57 +0200
Date: 2010-04-24T19:46:57+02:00	[thread overview]
Message-ID: <87pr1o2166.fsf@ludovic-brenta.org> (raw)
In-Reply-To: da0763b1-702f-4ece-a263-f691179b0e29@k41g2000yqf.googlegroups.com

resander <kresander@gmail.com> writes:
> On Apr 24, 12:15 pm, Simon Wright <si...@pushface.org> wrote:
>> resander <kresan...@gmail.com> writes:
>> > 'Could not locate executable on path: gprbuild'
>>
>> > I have ticked the checkbox for language C in the
>> > Languages tab in 'Edit Project Properties on the
>> > Project menu.
>>
>> > I am guessing that 'executable' refers to gcc.
>>
>> No, it refers to gprbuild!
>>
>> > I did a search on gcc and found these:
>>
>> >   /usr/bin/gcc    -- linked to
>> >   /usr/bin/gcc-4.3
>>
>> >   /usr/bin/gnatgcc    -- linked to
>> >   /usr/bin/gcc-4.3

(Caution: shameless plug ahead)

These seem to be the executables installed by the Debian packages.  Are
you using Debian or a derivative thereof?

Your problems seem to be a bad installation of GNAT GPL; I suggest you
either re-install GNAT GPL properly, i.e. following the installation
instructions _to the letter_, or upgrade to Debian GNU/Linux "testing"
(soon to be released as 6.0 "Squeeze").  Thanks to Stephen Leake, Debian
now includes gprbuild and installs it properly.  All your problems would
go away if you installed the following packages:

gnat
gnat-gps
gprbuild

You can do this with "aptitude install gnat gnat-gps gprbuild".

(The entire purpose of a binary distribution like Debian is to ease the
burden of installing and configuring software, so you don't have to
troubleshoot such problems and can concentrate on your programming
instead).

-- 
Ludovic Brenta.



  reply	other threads:[~2010-04-24 17:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 11:03 Error when running gcc from GPS resander
2010-04-24 11:15 ` Simon Wright
2010-04-24 16:53   ` resander
2010-04-24 17:46     ` Ludovic Brenta [this message]
2010-04-25 10:41       ` resander
2010-04-25 17:12         ` Ludovic Brenta
2010-04-25 12:42   ` Stephen Leake
2010-04-25 15:07     ` resander
2010-04-25 17:13       ` Ludovic Brenta
2010-04-25 15:22     ` Simon Wright
replies disabled

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