From: "Frank" <franjoe@frisurf.no>
Subject: Recompiling GtkAda to handle Annex E variant of s-stratt.
Date: Mon, 14 May 2001 15:56:51 +0200
Date: 2001-05-14T15:56:51+02:00 [thread overview]
Message-ID: <cvRL6.9797$gX3.685826@news3.oke.nextra.no> (raw)
In-Reply-To: 3AEEEA4C.8C10C85A@mail.utexas.edu
Hi!
Having: Linux RedHat 6.2, Intel, GNAT 3.13p-5
I have tried to recompile glib, gtk and gtkada, but are running into
problems in order to brin the Annex E variant of the s-stratt.adb into the
GtkAda build.
(always root)
When I run ./configure in my GtkAda source environment
it stops with this result:
-------------------------------------
checking for GTK - version >= 1.2.2... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter case,
you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error: Test for GTK failed. See the file 'INSTALL' for help.
-------------------------------------
I have tried to look into config.log, it says (at its end):
-------------------------------------
configure:1764: gcc -o
conftest -g -O2 -I/usr/local/include/glib-1.2 -I/usr/X11R6/include
conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodul
e -lglib -ldl -lXi -lXext -lX11 -lm 1>&5
In file included from /usr/local/include/gdk/gdktypes.h:33,
from /usr/local/include/gdk/gdk.h:31,
from /usr/local/include/gtk/gtk.h:31,
from configure:1756:
/usr/local/include/glib-1.2/glib.h:66: glibconfig.h: No such file or
directory
configure: failed program was:
#line 1754 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
#include <stdio.h>
int main() {
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
; return 0; }
-------------------------------------
Has anyone a tip on what this is?
I see that the message says that "the Gtk is incorrectly installed or
moved". I haven't moved it:-).
When it comes to the installation; I have downloaded the source for glib and
Gtk (1.2.10) and tar xvf'ed them in /root/prog before (tried to ) doing the
INSTALL instructions first in glib then in Gtk+.
I have tried to edit: /usr/bin/gtk-config, but haven't succeded in getting
rid of the problem (why do I get it in the first place?)
It would be useful to know if e.g Bobby Bryant from the previous postings
experienced some of
this?(http://gtkada.eu.org/pipermail/gtkada/2001-April/000777.html ).
I have noticed during make of glib and Gtk that this message appeares:
--------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
---------------------------------------------
Im not quite familiar with what it means; do I have to do it for my purpose
of recompiling GtkAda? I haven't; this might be the cause, but it would be
nice to know if I have to do it before going into depths:-)
I assume that this is a complex question, because it is very dependent on my
installation, but I have been fighting it for quite some time :-), and am
not familiar "recompiling" stuff in Linux(Unix)?
Frank
Bobby D. Bryant <bdbryant@mail.utexas.edu> wrote in message
news:3AEEEA4C.8C10C85A@mail.utexas.edu...
> Frank wrote:
>
> > I have tried to download
> > "GtkAda 1.2.10 development RPM for GNU/Linux x86 and GNAT 3.13p
(requires
> > the run time package). "
> > from this page.
>
> I'm not sure, but I don't think the RPMs contain the GtkAda source code.
> You should probably be downloading the .gz instead.
>
> The RPMs are fine for ordinary use, but to recompile for use with
gnat-glade
> you will need the actual source.
>
> Bobby Bryant
> Austin, Texas
>
>
next prev parent reply other threads:[~2001-05-14 13:56 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-27 16:20 GtkAda with several task (or distributed solution?)? Frank
2001-04-27 6:40 ` Bobby D. Bryant
2001-04-27 19:49 ` Simon Wright
2001-04-28 8:43 ` Frank
2001-04-28 6:02 ` Bobby D. Bryant
2001-05-01 8:48 ` Frank
2001-05-01 9:00 ` Preben Randhol
2001-05-02 7:21 ` Wilhelm Spickermann
2001-05-02 8:11 ` Preben Randhol
2001-05-02 10:51 ` Gerd Arlitt
2001-05-02 9:23 ` Preben Randhol
2001-05-01 16:54 ` Bobby D. Bryant
2001-05-02 7:51 ` Wilhelm Spickermann
2001-05-02 16:50 ` Bobby D. Bryant
2001-05-03 18:22 ` Wilhelm Spickermann
2001-05-14 13:56 ` Frank [this message]
2001-05-14 15:22 ` Recompiling GtkAda to handle Annex E variant of s-stratt Florian Weimer
2001-05-15 15:10 ` Frank
2001-04-27 17:44 ` GtkAda with several task (or distributed solution?)? Ted Dennison
2001-04-28 8:31 ` Frank
2001-04-30 14:03 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox