comp.lang.ada
 help / color / mirror / Atom feed
* Using GNAT at SuSE 6.3
@ 1999-12-29  0:00 Hans N. Beck
  1999-12-29  0:00 ` Florian Weimer
  0 siblings, 1 reply; 19+ messages in thread
From: Hans N. Beck @ 1999-12-29  0:00 UTC (permalink / raw)


Hello

I'm using SuSE Linux 6.3, which comes with gcc 2.7.2.3  and
egcs 2.91.66. I want to use gnat 3.11p pc linux (or 3.10p),
which
failed until now. Must I rebuild gnat with egcs ? Or must I
get a
gcc 2.8.1 binary which expects gnat 3.11 ? If the last, what
are the
implications for the libraries (c lib c++ lib etc)?

Thanks

Hans

--
         Dipl.-Ing. Hans N. Beck
----------------------------------------------
Technischer + didaktischer Computereinsatz
----------------------------------------------
      Waldstr. 28, D-75045 Walzbachtal

        Tel: +49 (0)7203 922280
        Fax: +49(0)7203 922281
        Handy: 0177 5383233
        eMail: hnbeck@tedakt.de
        WWW: http://www.tedakt.de






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

* Re: Using GNAT at SuSE 6.3
  1999-12-29  0:00 Using GNAT at SuSE 6.3 Hans N. Beck
@ 1999-12-29  0:00 ` Florian Weimer
  2000-01-11  0:00   ` Magnus Alexandersson
  0 siblings, 1 reply; 19+ messages in thread
From: Florian Weimer @ 1999-12-29  0:00 UTC (permalink / raw)


"Hans N. Beck" <hnbeck@t-online.de> writes:

> I'm using SuSE Linux 6.3,

Download the glibc 2.1 GNAT RPMs from http://www.gnuada.org/




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

* Re: Using GNAT at SuSE 6.3
  1999-12-29  0:00 ` Florian Weimer
@ 2000-01-11  0:00   ` Magnus Alexandersson
  2000-01-12  0:00     ` Jürgen Pfeifer
  0 siblings, 1 reply; 19+ messages in thread
From: Magnus Alexandersson @ 2000-01-11  0:00 UTC (permalink / raw)


Florian Weimer wrote:

> "Hans N. Beck" <hnbeck@t-online.de> writes:
>
> > I'm using SuSE Linux 6.3,
>
> Download the glibc 2.1 GNAT RPMs from http://www.gnuada.org/

Same problem here, after installing the gnat-3.12p_glibc2.1-1-8.i386.rpm
downloaded from the site, I can't seem to get it to work anyway... Tips?

I've got RH 6.1 dist.

--
///Magnus

http://www.mdtsud.chalmers.se/~md8maal







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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00           ` Magnus Alexandersson
@ 2000-01-12  0:00             ` reason67
  2000-01-13  0:00               ` Magnus Alexandersson
  2000-01-13  0:00               ` Preben Randhol
  0 siblings, 2 replies; 19+ messages in thread
From: reason67 @ 2000-01-12  0:00 UTC (permalink / raw)


In article <387CBEF9.F646A2E2@mtek.chalmers.se>,
  Magnus Alexandersson <m96maal@mtek.chalmers.se> wrote:
> reason67@my-deja.com wrote:
>
> > Sounds like a problem in your RPM database. Try
> >
> > rpm -ivh --force gnat-3.12p_glibc2.1-1-8.i386.rpm
> >
> > that should install it.
>
> Well, a 'locate' finds it locally... Do I haveto symlink it someplace?

I do not understand the question. Your previous post says:

 ># rpm -ivh gnat-3.12p_glibc2.1-1-8.i386.rpm
 >package gnat-3.12p-1-8 is already installed
 ># rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
 >package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed

This is what I was refering to. An attempt to install told you the files
were there, a query on the rpm said it was not there. So, if you install
with a "force" it will install it whether or not the rpm database thinks
it is installed. That should fix your database and get the package
installed.

I do not understand the context of the "locate" in your above question.

> I'd like to have it like at school, y'know
>
> $ gnat myada.adb

try:

$ gnatmake myada.adb

---
Jeffrey Blatt


Sent via Deja.com http://www.deja.com/
Before you buy.




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

* Re: Using GNAT at SuSE 6.3
  2000-01-11  0:00   ` Magnus Alexandersson
@ 2000-01-12  0:00     ` Jürgen Pfeifer
  2000-01-12  0:00       ` Magnus Alexandersson
  0 siblings, 1 reply; 19+ messages in thread
From: Jürgen Pfeifer @ 2000-01-12  0:00 UTC (permalink / raw)


Magnus Alexandersson wrote:
> 
> Florian Weimer wrote:
> 
> > "Hans N. Beck" <hnbeck@t-online.de> writes:
> >
> > > I'm using SuSE Linux 6.3,
> >
> > Download the glibc 2.1 GNAT RPMs from http://www.gnuada.org/
> 
> Same problem here, after installing the gnat-3.12p_glibc2.1-1-8.i386.rpm
> downloaded from the site, I can't seem to get it to work anyway... Tips?
> 
> I've got RH 6.1 dist.
> 
How can we help you if you don't tell us exactly

  1. What you did
  2. What the result was

Did you read the README on the www.gnuada.org site and follow the steps
described there to install and use the packages?

Cheers
J�rgen




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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00       ` Magnus Alexandersson
  2000-01-12  0:00         ` Anders Gidenstam
@ 2000-01-12  0:00         ` reason67
  2000-01-12  0:00           ` Magnus Alexandersson
  2000-01-12  0:00         ` Florian Weimer
                           ` (2 subsequent siblings)
  4 siblings, 1 reply; 19+ messages in thread
From: reason67 @ 2000-01-12  0:00 UTC (permalink / raw)


In article <387C9C3A.4F4238AA@mtek.chalmers.se>,
  Magnus Alexandersson <m96maal@mtek.chalmers.se> wrote:
> Hello!
>
> You wrote the package, right?
>
> Well here goes:
>
> ]# rpm -ivh gnat-3.12p_glibc2.1-1-8.i386.rpm
> package gnat-3.12p-1-8 is already installed
> ]# rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
> package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed
>
> So, no what?

Sounds like a problem in your RPM database. Try

rpm -ivh --force gnat-3.12p_glibc2.1-1-8.i386.rpm

that should install it.
---
Jeffrey Blatt


Sent via Deja.com http://www.deja.com/
Before you buy.




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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00     ` Jürgen Pfeifer
@ 2000-01-12  0:00       ` Magnus Alexandersson
  2000-01-12  0:00         ` Anders Gidenstam
                           ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Magnus Alexandersson @ 2000-01-12  0:00 UTC (permalink / raw)


Hello!

You wrote the package, right?

Well here goes:

]# rpm -ivh gnat-3.12p_glibc2.1-1-8.i386.rpm
package gnat-3.12p-1-8 is already installed
]# rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed

So, no what?

I haven't a clue...

> > I've got RH 6.1 dist.
> >
> How can we help you if you don't tell us exactly
>
>   1. What you did
>   2. What the result was
>
> Did you read the README on the www.gnuada.org site and follow the steps
> described there to install and use the packages?
>
> Cheers
> J�rgen

--
///Magnus

http://www.mdtsud.chalmers.se/~md8maal







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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00       ` Magnus Alexandersson
  2000-01-12  0:00         ` Anders Gidenstam
  2000-01-12  0:00         ` reason67
@ 2000-01-12  0:00         ` Florian Weimer
  2000-01-13  0:00         ` Juergen Pfeifer
  2000-01-13  0:00         ` Aidan Skinner
  4 siblings, 0 replies; 19+ messages in thread
From: Florian Weimer @ 2000-01-12  0:00 UTC (permalink / raw)


Magnus Alexandersson <m96maal@mtek.chalmers.se> writes:

> ]# rpm -ivh gnat-3.12p_glibc2.1-1-8.i386.rpm
> package gnat-3.12p-1-8 is already installed
> ]# rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
> package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed
> 
> So, no what?

Try `rpm -q gnat-3.12p_glibc2.1'.  You need the development RPM as
well, BTW.

What happens if you compile a small example program with `gnatmake'?




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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00         ` reason67
@ 2000-01-12  0:00           ` Magnus Alexandersson
  2000-01-12  0:00             ` reason67
  0 siblings, 1 reply; 19+ messages in thread
From: Magnus Alexandersson @ 2000-01-12  0:00 UTC (permalink / raw)


reason67@my-deja.com wrote:

> Sounds like a problem in your RPM database. Try
>
> rpm -ivh --force gnat-3.12p_glibc2.1-1-8.i386.rpm
>
> that should install it.

Well, a 'locate' finds it locally... Do I haveto symlink it someplace?

I'd like to have it like at school, y'know

$ gnat myada.adb

Is it the right package?

If anything is wrong, I plead ignorance... ; )

--
///Magnus

http://www.mdtsud.chalmers.se/~md8maal







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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00       ` Magnus Alexandersson
@ 2000-01-12  0:00         ` Anders Gidenstam
  2000-01-12  0:00         ` reason67
                           ` (3 subsequent siblings)
  4 siblings, 0 replies; 19+ messages in thread
From: Anders Gidenstam @ 2000-01-12  0:00 UTC (permalink / raw)


In article <387C9C3A.4F4238AA@mtek.chalmers.se>,
	Magnus Alexandersson <m96maal@mtek.chalmers.se> writes:
>Hello!
>
>You wrote the package, right?
>
>Well here goes:
>
>]# rpm -ivh gnat-3.12p_glibc2.1-1-8.i386.rpm
>package gnat-3.12p-1-8 is already installed
>]# rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
>package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed
>
>So, no what?

Try 'rpm -q gnat-3.12p_glibc2.1'. I don't think rpm likes the .i386.rpm 
extension when you query the db.

/Anders
-- 
"A well-written program is its own heaven; 
 a poorly-written program is its own hell."
  - The Tao of Programming 





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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00       ` Magnus Alexandersson
                           ` (2 preceding siblings ...)
  2000-01-12  0:00         ` Florian Weimer
@ 2000-01-13  0:00         ` Juergen Pfeifer
  2000-01-13  0:00           ` Magnus Alexandersson
  2000-01-22  0:00           ` Stefan Skoglund
  2000-01-13  0:00         ` Aidan Skinner
  4 siblings, 2 replies; 19+ messages in thread
From: Juergen Pfeifer @ 2000-01-13  0:00 UTC (permalink / raw)


> Hello!
>
> You wrote the package, right?
>
> Well here goes:
>
> ]# rpm -ivh gnat-3.12p_glibc2.1-1-8.i386.rpm
> package gnat-3.12p-1-8 is already installed
> ]# rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
> package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed
>
> So, no what?
>
> I haven't a clue...
>
>
1. For the install option of RPM you have to use the complete
filename of the package as you did. It seems you did that
before, thats why rpm complains...

2. The package name is not the filename! For the query you
   should try "rpm -q gnat-3.12p" (thats the package name).
   You can get the package name from the package file by
   using "rpm -q -p gnat-3.12p_glibc2.1-1-8.i386.rpm -i"

3. With that you just installed the runtime! To get the compiler
   and the development tools, you must at least install the
   package gnat-devel-3.12p_glibc2.1-1-8.i386.rpm

4. After that you can use the command "gnatmake" to build your
   project or "gnatgcc" to compile an individual unit.

5. You may go to the directory /usr/doc/gnat-devel-3.12p/examples
   and type "make". This should compile and run a few examples.
   If that works you have a good chance that everything is setup
   correctly.

Cheers
J�rgen







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

* Re: Using GNAT at SuSE 6.3
  2000-01-13  0:00               ` Preben Randhol
@ 2000-01-13  0:00                 ` reason67
  0 siblings, 0 replies; 19+ messages in thread
From: reason67 @ 2000-01-13  0:00 UTC (permalink / raw)


In article <m3r9fmcmbd.fsf@kiuk0156.chembio.ntnu.no>,
  Preben Randhol <randhol@pvv.org> wrote:
> reason67@my-deja.com writes:
>
> |  ># rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
> |  >package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed
> |
> | This is what I was refering to. An attempt to install told you the
files
> | were there, a query on the rpm said it was not there. So, if you
install
>
> No because the query was flawed. When you query you need to for the
> name of the package, not the filename. Then filename could be
> anything.

hahahahaha.

Good point. I did not catch that.
---
Jeffrey Blatt


Sent via Deja.com http://www.deja.com/
Before you buy.




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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00       ` Magnus Alexandersson
                           ` (3 preceding siblings ...)
  2000-01-13  0:00         ` Juergen Pfeifer
@ 2000-01-13  0:00         ` Aidan Skinner
  4 siblings, 0 replies; 19+ messages in thread
From: Aidan Skinner @ 2000-01-13  0:00 UTC (permalink / raw)


On Wed, 12 Jan 2000 16:22:34 +0100, Magnus Alexandersson
<m96maal@mtek.chalmers.se> wrote: 

>]# rpm -ivh gnat-3.12p_glibc2.1-1-8.i386.rpm
>package gnat-3.12p-1-8 is already installed
>]# rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
>package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed
>
>So, no what?

the name of the package in this case is gnat-3.12p_glibc2.1-1-8, the bits
after it are to do with the file itself. If you try rpm -q
gnat-3.12p_glibc2.1-1-8 it should just say the name of the package.

Alternatively, try rpm -qa | grep gnat and see what it says.

- Aidan


-- 
"I consider your own preference for not breeding to be a service
to usenet."
http://www.skinner.demon.co.uk/aidan/




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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00             ` reason67
  2000-01-13  0:00               ` Magnus Alexandersson
@ 2000-01-13  0:00               ` Preben Randhol
  2000-01-13  0:00                 ` reason67
  1 sibling, 1 reply; 19+ messages in thread
From: Preben Randhol @ 2000-01-13  0:00 UTC (permalink / raw)


reason67@my-deja.com writes:

|  ># rpm -q gnat-3.12p_glibc2.1-1-8.i386.rpm
|  >package gnat-3.12p_glibc2.1-1-8.i386.rpm is not installed
| 
| This is what I was refering to. An attempt to install told you the files
| were there, a query on the rpm said it was not there. So, if you install

No because the query was flawed. When you query you need to for the
name of the package, not the filename. Then filename could be
anything.


-- 
Preben Randhol -- [randhol@pvv.org] -- [http://www.pvv.org/~randhol/]     
         "Det eneste trygge stedet i verden er inne i en fortelling." 
                                                      -- Athol Fugard




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

* Re: Using GNAT at SuSE 6.3
  2000-01-12  0:00             ` reason67
@ 2000-01-13  0:00               ` Magnus Alexandersson
  2000-01-13  0:00                 ` Preben Randhol
  2000-01-13  0:00               ` Preben Randhol
  1 sibling, 1 reply; 19+ messages in thread
From: Magnus Alexandersson @ 2000-01-13  0:00 UTC (permalink / raw)


reason67@my-deja.com wrote:


]# locate gnat

/usr/lib/ada/etc/gnat-rts.csh
/usr/lib/ada/etc/gnat-rts.sh
/usr/lib/libgnat-3.12p.so.1
/usr/lib/libgnat-3.12p.so.1.8
/etc/profile.d/gnat-rts.sh
/etc/profile.d/gnat-rts.csh                                                     

this above was what I meant, the gnat is obviously on the system
already... : /

Well, the --force part did it... : )

]# rpm -ivh --force gnat-3.12p_glibc2.1-1-8.i386.rpm
gnat-3.12p                 
##################################################
]# rpm -q gnat-3.12p
gnat-3.12p-1-8
]#

-- 
///Magnus

http://www.mdtsud.chalmers.se/~md8maal




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

* Re: Using GNAT at SuSE 6.3
  2000-01-13  0:00         ` Juergen Pfeifer
@ 2000-01-13  0:00           ` Magnus Alexandersson
  2000-01-22  0:00           ` Stefan Skoglund
  1 sibling, 0 replies; 19+ messages in thread
From: Magnus Alexandersson @ 2000-01-13  0:00 UTC (permalink / raw)


Juergen Pfeifer wrote:

> 2. The package name is not the filename! For the query you
>    should try "rpm -q gnat-3.12p" (thats the package name).
>    You can get the package name from the package file by
>    using "rpm -q -p gnat-3.12p_glibc2.1-1-8.i386.rpm -i"

Well, noticed my mistake:
]# rpm -ivh --force gnat-3.12p_glibc2.1-1-8.i386.rpm
gnat-3.12p                 
##################################################
]# rpm -q gnat-3.12p
gnat-3.12p-1-8
]#      

> 3. With that you just installed the runtime! To get the compiler
>    and the development tools, you must at least install the
>    package gnat-devel-3.12p_glibc2.1-1-8.i386.rpm

Getting that one now, thought I had gotten them all installed nicely,
and then got hung up on the "not-installed" part. 
 
> 4. After that you can use the command "gnatmake" to build your
>    project or "gnatgcc" to compile an individual unit.

So I see.
 
> 5. You may go to the directory /usr/doc/gnat-devel-3.12p/examples
>    and type "make". This should compile and run a few examples.
>    If that works you have a good chance that everything is setup
>    correctly.

Thanks for all help!

-- 
///Magnus

http://www.mdtsud.chalmers.se/~md8maal




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

* Re: Using GNAT at SuSE 6.3
  2000-01-13  0:00               ` Magnus Alexandersson
@ 2000-01-13  0:00                 ` Preben Randhol
  0 siblings, 0 replies; 19+ messages in thread
From: Preben Randhol @ 2000-01-13  0:00 UTC (permalink / raw)


Magnus Alexandersson <m96maal@mtek.chalmers.se> writes:

| Well, the --force part did it... : )

It should work without the --force flag. Your query was not correct
the first time.

-- 
Preben Randhol -- [randhol@pvv.org] -- [http://www.pvv.org/~randhol/]     
         "Det eneste trygge stedet i verden er inne i en fortelling." 
                                                      -- Athol Fugard




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

* Re: Using GNAT at SuSE 6.3
  2000-01-13  0:00         ` Juergen Pfeifer
  2000-01-13  0:00           ` Magnus Alexandersson
@ 2000-01-22  0:00           ` Stefan Skoglund
  2000-01-23  0:00             ` Jürgen Pfeifer
  1 sibling, 1 reply; 19+ messages in thread
From: Stefan Skoglund @ 2000-01-22  0:00 UTC (permalink / raw)


Juergen Pfeifer wrote:
> 
> 2. The package name is not the filename! For the query you
>    should try "rpm -q gnat-3.12p" (thats the package name).
>    You can get the package name from the package file by
>    using "rpm -q -p gnat-3.12p_glibc2.1-1-8.i386.rpm -i"

He can also try rpm -q -a|grep gnat to
get a somewhat complete listing of his gnat-linux packages.





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

* Re: Using GNAT at SuSE 6.3
  2000-01-22  0:00           ` Stefan Skoglund
@ 2000-01-23  0:00             ` Jürgen Pfeifer
  0 siblings, 0 replies; 19+ messages in thread
From: Jürgen Pfeifer @ 2000-01-23  0:00 UTC (permalink / raw)


Stefan Skoglund wrote:
> 
> Juergen Pfeifer wrote:
> >
> > 2. The package name is not the filename! For the query you
> >    should try "rpm -q gnat-3.12p" (thats the package name).
> >    You can get the package name from the package file by
> >    using "rpm -q -p gnat-3.12p_glibc2.1-1-8.i386.rpm -i"
> 
> He can also try rpm -q -a|grep gnat to
> get a somewhat complete listing of his gnat-linux packages.

IMHO the best way to get a list of all installed ALT packages is

rpm -qa --queryformat "%{NAME} %{DISTRIBUTION}\n" | grep ALT | awk '{print $1;}'




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

end of thread, other threads:[~2000-01-23  0:00 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-29  0:00 Using GNAT at SuSE 6.3 Hans N. Beck
1999-12-29  0:00 ` Florian Weimer
2000-01-11  0:00   ` Magnus Alexandersson
2000-01-12  0:00     ` Jürgen Pfeifer
2000-01-12  0:00       ` Magnus Alexandersson
2000-01-12  0:00         ` Anders Gidenstam
2000-01-12  0:00         ` reason67
2000-01-12  0:00           ` Magnus Alexandersson
2000-01-12  0:00             ` reason67
2000-01-13  0:00               ` Magnus Alexandersson
2000-01-13  0:00                 ` Preben Randhol
2000-01-13  0:00               ` Preben Randhol
2000-01-13  0:00                 ` reason67
2000-01-12  0:00         ` Florian Weimer
2000-01-13  0:00         ` Juergen Pfeifer
2000-01-13  0:00           ` Magnus Alexandersson
2000-01-22  0:00           ` Stefan Skoglund
2000-01-23  0:00             ` Jürgen Pfeifer
2000-01-13  0:00         ` Aidan Skinner

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