comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Erroneous installation for GPRBuild on Ubuntu ?
Date: Fri, 27 May 2011 07:33:30 -0400
Date: 2011-05-27T07:33:30-04:00	[thread overview]
Message-ID: <82aae88jjp.fsf@stephe-leake.org> (raw)
In-Reply-To: op.vv2dudg2ule2fv@douda-yannick

"Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> writes:

> Hi all,
>
> I feel stupid, or else something is wrong.
>
> I've installed GNAT in Ubuntu (10.10) since 4 months. This works fine.
> Today, I wanted to install AUnit. The documentation stated GPRBuild is
> required for that. So I installed GPRBuild (which I did not installed
> so  far), and launched the “make” command from the
> “aunit-gpl-2010-src”  directory.
>
> It failed, with this rather surprising message:
>
>> aunit_build.gpr:3:09: warning: no compiler specified forlanguage
>> "Ada", ignoring all its sources
>> […]
>> gprbuild: no sources to compile
>
> How is this possible ? No compiler specified for language "Ada", it says ?
>
> Note: both the FSF Ada compiler and GPRBuild was installed from
> official packages (not installed from scratch).

Which "official packages"? please show the command line you used, or at
least the package name and version if you used a GUI (once again, GUIs
make things harder :).

(I could interpret "official package" as "the .tar.gz from
http://libre.adacore.com/libre/ , but I'm assuming you mean "Ubuntu
package". I still need the version.).

You can run 'gprbuild -v -v' to get a log of how it searches for the
compiler.

> It's long time I did not play with GPRBuild's configuration files (I
> did it on Windows some time ago), and I don't feel happy to run to
> there right  now (will do it later). I still wanted to notice, as this
> seems really  strange (this should have worked right-up).

It does on Debian - perhaps you should upgrade :).

-- 
-- Stephe



  parent reply	other threads:[~2011-05-27 11:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26  1:16 Erroneous installation for GPRBuild on Ubuntu ? Yannick Duchêne (Hibou57)
2011-05-26  8:21 ` Ludovic Brenta
2011-05-26 15:03   ` Yannick Duchêne (Hibou57)
2011-05-26 15:09     ` Yannick Duchêne (Hibou57)
2011-05-26 12:21 ` Simon Wright
2011-05-26 14:43   ` Yannick Duchêne (Hibou57)
2011-05-27  7:04     ` Ludovic Brenta
2011-05-27 11:39     ` Stephen Leake
2011-05-27 13:49       ` Yannick Duchêne (Hibou57)
2011-05-27 12:34     ` Ludovic Brenta
2011-05-27 11:33 ` Stephen Leake [this message]
2011-05-27 13:44   ` Yannick Duchêne (Hibou57)
replies disabled

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