comp.lang.ada
 help / color / mirror / Atom feed
* GtkAda + Glade (annex E)
@ 2004-03-24 10:06 St?phane
  2004-03-24 10:09 ` Preben Randhol
  0 siblings, 1 reply; 4+ messages in thread
From: St?phane @ 2004-03-24 10:06 UTC (permalink / raw)


Hi,

I compile successfully glade and gtkada with gnat 3.15.

But when i compile a distributed program with GtkAda, gnatdist find a
problem with s-stratt.adb.
----------------------------------------------
error: "glib-object.adb" must be recompiled ("s-stratt.adb" has been
modified)
error: "gtkada-canvas.adb" must be recompiled ("s-stratt.adb" has been
modified)
error: "glib-graphs.adb" must be recompiled ("s-stratt.adb" has been
modified)
----------------------------------------------

I think the problem is GtkAda was compiled with gnat's "s-stratt.adb"
version, and gnatdist use a modified s-stratt.adb .

My environnement: Linux, gnat 3.15p, glade 3.15p, GtkAda 2.2.1.

Does anyone have a idea to compile GtkAda with the glade's
s-stratt.adb ?

St�phane.



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

* Re: GtkAda + Glade (annex E)
  2004-03-24 10:06 GtkAda + Glade (annex E) St?phane
@ 2004-03-24 10:09 ` Preben Randhol
  2004-03-25  9:04   ` @ free.fr
  0 siblings, 1 reply; 4+ messages in thread
From: Preben Randhol @ 2004-03-24 10:09 UTC (permalink / raw)


On 2004-03-24, St?phane <patureau@free.fr> wrote:
>
> My environnement: Linux, gnat 3.15p, glade 3.15p, GtkAda 2.2.1.
>
> Does anyone have a idea to compile GtkAda with the glade's
> s-stratt.adb ?

Recompile GtkAda.

Which distribution do you use?
-- 
Preben Randhol -------- http://www.pvv.org/~randhol/

()  "Violence is the last refuge of the incompetent"
/\                                   - Isaac Asimov



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

* Re: GtkAda + Glade (annex E)
  2004-03-24 10:09 ` Preben Randhol
@ 2004-03-25  9:04   ` @ free.fr
  2004-03-25  9:42     ` Preben Randhol
  0 siblings, 1 reply; 4+ messages in thread
From: @ free.fr @ 2004-03-25  9:04 UTC (permalink / raw)


Preben Randhol wrote:
> 
>>My environnement: Linux, gnat 3.15p, glade 3.15p, GtkAda 2.2.1.
>>
> Recompile GtkAda.
> 
> Which distribution do you use?

I use debian unstable, but i get gnat from 
ftp://ftp.cs.nyu.edu/pub/gnat/3.15p/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz,
and gcc 3.3.3 drom debian.

I try to recompile GtkAda with modified files in src directory:
---------------
 >Makefile.common
GNATFLAGS = -O2 -gnatn -gnatws  -aI/usr/gnat/glade/lib/garlic/ 
-aO/usr/gnat/glade/lib/garlic/
 >Makefile
CFLAGS = -g -O2 -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
   -I.. $(FPIC) -I/usr/gnat/glade/lib/garlic
GNATMAKELDFLAGS = -largs -L. -lgtkada $(GTK_LIBS) -lgarlic
-----------------

This time GtkAda compile with good version of s-stratt, i can compile a 
software with GtkAda and glade, but i can't run it.

When i try to run a software with GtkAda, i have a segmentation error.


Does anyone have successfully compile a sofware with glade and GtkAda?


St�phane.



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

* Re: GtkAda + Glade (annex E)
  2004-03-25  9:04   ` @ free.fr
@ 2004-03-25  9:42     ` Preben Randhol
  0 siblings, 0 replies; 4+ messages in thread
From: Preben Randhol @ 2004-03-25  9:42 UTC (permalink / raw)
  To: ", patureau, ">"; +Cc: comp.lang.ada

"@ free.fr <"@ada-france.org, patureau@ada-france.org, ">"@ada-france.org wrote on 25/03/2004 (10:15) :
> Preben Randhol wrote:
> >
> >>My environnement: Linux, gnat 3.15p, glade 3.15p, GtkAda 2.2.1.
> >>
> >Recompile GtkAda.
> >
> >Which distribution do you use?
> 
> I use debian unstable, but i get gnat from
> ftp://ftp.cs.nyu.edu/pub/gnat/3.15p/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz,
> and gcc 3.3.3 drom debian.

What is wrong with using the gnat 3-15p packages of Debian?


-- 
Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 --
                 �For me, Ada95 puts back the joy in programming.�



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

end of thread, other threads:[~2004-03-25  9:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-24 10:06 GtkAda + Glade (annex E) St?phane
2004-03-24 10:09 ` Preben Randhol
2004-03-25  9:04   ` @ free.fr
2004-03-25  9:42     ` Preben Randhol

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