comp.lang.ada
 help / color / mirror / Atom feed
* Installing AWS  GPL Edition
@ 2010-11-25  2:09 Georg Maubach
  2010-11-25  6:11 ` Thomas Løcke
  2010-11-25  6:55 ` Ludovic Brenta
  0 siblings, 2 replies; 8+ messages in thread
From: Georg Maubach @ 2010-11-25  2:09 UTC (permalink / raw)


Hi All,

I tried to install AWS GPL Edition on my Debian machine. The AWS source 
files are stored in /homedir/aws-gpl-2.8.0-src.

When I issue the command "/usr/bin/make setup build install" in the "aws-
gpl-2.8.0-src" directory I get the following error messages:

make[1]: gprbuild: Command not found
make[1]: ../.build/native/release/../setup/check_config: Command not found
make[1]: *** [../.build/native/release/../setup/src/aws-os_lib.ads] Error 
127
make: *** [config_setup] Error 2

My machine setup is:
Linux Kernel: Linux earth 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 
2010 x86_64 GNU/Linux
GPS: GNAT Programming System GPS 4.0.1 [Debian] hosted on x86_64-linux-
gnu GNAT 4.3.2
Make: GNU make 3.8.1

Can somebody tell me how can I fix this?

Regards

George



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing AWS  GPL Edition
  2010-11-25  2:09 Installing AWS GPL Edition Georg Maubach
@ 2010-11-25  6:11 ` Thomas Løcke
  2010-11-25 21:22   ` Georg Maubach
  2010-11-25  6:55 ` Ludovic Brenta
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Løcke @ 2010-11-25  6:11 UTC (permalink / raw)


On 2010-11-25 03:09, Georg Maubach wrote:
> Hi All,
>
> I tried to install AWS GPL Edition on my Debian machine. The AWS source
> files are stored in /homedir/aws-gpl-2.8.0-src.
>
> When I issue the command "/usr/bin/make setup build install" in the "aws-
> gpl-2.8.0-src" directory I get the following error messages:
>
> make[1]: gprbuild: Command not found
> make[1]: ../.build/native/release/../setup/check_config: Command not found
> make[1]: *** [../.build/native/release/../setup/src/aws-os_lib.ads] Error
> 127
> make: *** [config_setup] Error 2
>
> My machine setup is:
> Linux Kernel: Linux earth 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC
> 2010 x86_64 GNU/Linux
> GPS: GNAT Programming System GPS 4.0.1 [Debian] hosted on x86_64-linux-
> gnu GNAT 4.3.2
> Make: GNU make 3.8.1
>
> Can somebody tell me how can I fix this?


Hello George,

Add the path to your gprbuild program to your PATH environment variable.

If you don't have gprbuild, then grab GNAT GPL from libre.adacore.com
and install it to its default location. Then add /usr/gnat/bin to your
PATH.

That should do it.  :o)

-- 
Regards,
Thomas Løcke

Email: tl at ada-dk.org
Web: http:ada-dk.org
IRC nick: ThomasLocke



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing AWS  GPL Edition
  2010-11-25  2:09 Installing AWS GPL Edition Georg Maubach
  2010-11-25  6:11 ` Thomas Løcke
@ 2010-11-25  6:55 ` Ludovic Brenta
  2010-11-25 20:55   ` Georg Maubach
  1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Brenta @ 2010-11-25  6:55 UTC (permalink / raw)


Georg Maubach writes:
> I tried to install AWS GPL Edition on my Debian machine. The AWS source 
> files are stored in /homedir/aws-gpl-2.8.0-src.
>
> When I issue the command "/usr/bin/make setup build install" in the "aws-
> gpl-2.8.0-src" directory I get the following error messages:
>
> make[1]: gprbuild: Command not found
> make[1]: ../.build/native/release/../setup/check_config: Command not found
> make[1]: *** [../.build/native/release/../setup/src/aws-os_lib.ads] Error 
> 127
> make: *** [config_setup] Error 2
>
> My machine setup is:
> Linux Kernel: Linux earth 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 
> 2010 x86_64 GNU/Linux
> GPS: GNAT Programming System GPS 4.0.1 [Debian] hosted on x86_64-linux-
> gnu GNAT 4.3.2
> Make: GNU make 3.8.1
>
> Can somebody tell me how can I fix this?

aptitude install gprbuild

And optionally:

aptitude install libaws2.7-dev

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing AWS  GPL Edition
  2010-11-25  6:55 ` Ludovic Brenta
@ 2010-11-25 20:55   ` Georg Maubach
  2010-11-26 19:59     ` Ludovic Brenta
  0 siblings, 1 reply; 8+ messages in thread
From: Georg Maubach @ 2010-11-25 20:55 UTC (permalink / raw)


Hi Ludovic,
 
> aptitude install gprbuild

I tried this on Debian GNU Linux Lenny and found that there is no 
installation package. I searched the package index on the web and got the 
same result. Do I do something wrong?

George




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing AWS  GPL Edition
  2010-11-25  6:11 ` Thomas Løcke
@ 2010-11-25 21:22   ` Georg Maubach
  2010-11-25 21:48     ` Thomas Løcke
  0 siblings, 1 reply; 8+ messages in thread
From: Georg Maubach @ 2010-11-25 21:22 UTC (permalink / raw)


Hi Thomas,

first I used "apt-get install gnat" and "apt-get install gnat-gps" and 
had the described problems. Then I uninstalled everything and followed 
your instructions downloading the software directly from 
libre.adacore.com.

> 
> If you don't have gprbuild, then grab GNAT GPL from libre.adacore.com
> and install it to its default location. Then add /usr/gnat/bin to your
> PATH.
> 
> 
Using the default values for the installation ./doinstall of GNAT GPS 
finished without errors and without warning messages.

I added /usr/gnat/bin to my PATH variable and called

/usr/bin/make setup build install

from the source directory of AWS.

The setup routine came to an end but produced a hole bunch of warning 
messages and an Exit message:

tools.gpr:34:09: warning: no compiler specified for language "makefile", 
ignoring all its sources
include.gpr:33:09: warning: no compiler specified for language 
"makefile", ignoring all its sources
scr.gpr:35:09: warning: no compiler specified for language "makefile", 
ignoring all its sources
aws-attachments.adb:404:19: warning: redundant conversion, expression of 
type "Element"
[1]+ Exit 2 /usr/bin/make setup build install 1

When running /usr/bin/make setup build install again the routine listed 
the same warning messages but came to an end without "Exit" message.

What should I do about the warnings?

Regards

George



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing AWS  GPL Edition
  2010-11-25 21:22   ` Georg Maubach
@ 2010-11-25 21:48     ` Thomas Løcke
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Løcke @ 2010-11-25 21:48 UTC (permalink / raw)


On 2010-11-25 22:22, Georg Maubach wrote:
> tools.gpr:34:09: warning: no compiler specified for language "makefile",
> ignoring all its sources
> include.gpr:33:09: warning: no compiler specified for language
> "makefile", ignoring all its sources
> scr.gpr:35:09: warning: no compiler specified for language "makefile",
> ignoring all its sources
> aws-attachments.adb:404:19: warning: redundant conversion, expression of
> type "Element"
> [1]+ Exit 2 /usr/bin/make setup build install 1
>
> When running /usr/bin/make setup build install again the routine listed
> the same warning messages but came to an end without "Exit" message.
>
> What should I do about the warnings?


I don't think you need to worry about those warnings, as long as AWS is
working for you.

Though personally I don't remember warnings like that when I compiled
AWS, especially the last one is new to me.

Maybe I should try downloading AWS again, and see if it's different from
the version I'm using now.

-- 
Regards,
Thomas Løcke

Email: tl at ada-dk.org
Web: http:ada-dk.org
IRC nick: ThomasLocke



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing AWS  GPL Edition
  2010-11-25 20:55   ` Georg Maubach
@ 2010-11-26 19:59     ` Ludovic Brenta
  2010-11-26 20:46       ` Per Sandberg
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Brenta @ 2010-11-26 19:59 UTC (permalink / raw)


Georg Maubach writes on comp.lang.ada:
>> aptitude install gprbuild
>
> I tried this on Debian GNU Linux Lenny and found that there is no
> installation package. I searched the package index on the web and got
> the same result. Do I do something wrong?

Ah, gprbuild has only been in Debian since January 2010, so it is not in
Lenny.  It is in Squeeze though.  Sorry for the confusion.

BTW, Lenny does have libaws-dev (version 2.5~124785-1) in case you're
interested.

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing AWS  GPL Edition
  2010-11-26 19:59     ` Ludovic Brenta
@ 2010-11-26 20:46       ` Per Sandberg
  0 siblings, 0 replies; 8+ messages in thread
From: Per Sandberg @ 2010-11-26 20:46 UTC (permalink / raw)


And gprbuild that's the driver of one of the most intuitive build 
systems out there its a pity its not more spread.

/P


On 11/26/2010 08:59 PM, Ludovic Brenta wrote:
> Georg Maubach writes on comp.lang.ada:
>>> aptitude install gprbuild
>>
>> I tried this on Debian GNU Linux Lenny and found that there is no
>> installation package. I searched the package index on the web and got
>> the same result. Do I do something wrong?
>
> Ah, gprbuild has only been in Debian since January 2010, so it is not in
> Lenny.  It is in Squeeze though.  Sorry for the confusion.
>
> BTW, Lenny does have libaws-dev (version 2.5~124785-1) in case you're
> interested.
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-11-26 20:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-25  2:09 Installing AWS GPL Edition Georg Maubach
2010-11-25  6:11 ` Thomas Løcke
2010-11-25 21:22   ` Georg Maubach
2010-11-25 21:48     ` Thomas Løcke
2010-11-25  6:55 ` Ludovic Brenta
2010-11-25 20:55   ` Georg Maubach
2010-11-26 19:59     ` Ludovic Brenta
2010-11-26 20:46       ` Per Sandberg

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