Re: GtkAda + Glade (annex E)

From: _at_ free.fr (_at_)
Date: 03/25/04


Date: Thu, 25 Mar 2004 10:04:43 +0100

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.



Relevant Pages

  • Re: GLADE + s-stratt.adb + GtkAda problem.
    ... > try to compile a GtkAda program with gnatdist, ... > I rebuilt and re-installed GtkAda, ... instead of the GLADE version. ... You need to rebuild Gtkada against the glade versions of the ada libraries. ...
    (comp.lang.ada)
  • Re: Answer of Request to AdaCore on licensing Status of GtkAda 2.4.0
    ... when the GPL version is at 2.8.x and maybe even such a thing can't ... I guess or is there any code in 2.4.0 that doesn't compile with gnat ... Debian developer yourself and maintain GtkAda 2.4 in Etch. ...
    (comp.lang.ada)
  • Re: GNAT GPL 2005 Edition is now available
    ... > The versions of GLADE and GtkAda I use are GMGPL. ... > GLADE is 1996-2001 Free Software Foundation, ... > GtkAda is 1998-1999 Briot, ... The source code is not a derived work of GtkAda, ...
    (comp.lang.ada)
  • Re: GNAT GPL 2005 Edition is now available
    ... GLADE is 1996-2001 Free Software Foundation, ... GtkAda is 1998-1999 Briot, ... was switched to GPL from LGPL *years* ago, although the individual source files weren't. ...
    (comp.lang.ada)
  • GtkAda + Glade (annex E)
    ... I compile successfully glade and gtkada with gnat 3.15. ... But when i compile a distributed program with GtkAda, ...
    (comp.lang.ada)