From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC,SYSADMIN autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7efbdbcd2058c74e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-14 06:58:04 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!128.39.3.168!uninett.no!news.ost.eltele.no!news2.oke.nextra.no!nextra.com!news3.oke.nextra.no.POSTED!not-for-mail Reply-To: "Frank" From: "Frank" Newsgroups: comp.lang.ada References: <3AE9145E.36604291@mail.utexas.edu> <1pvG6.3640$gX3.225320@news3.oke.nextra.no> <3AEA5D01.77EA699B@mail.utexas.edu> <3AEEEA4C.8C10C85A@mail.utexas.edu> Subject: Recompiling GtkAda to handle Annex E variant of s-stratt. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Mon, 14 May 2001 15:56:51 +0200 NNTP-Posting-Host: 130.67.136.251 X-Complaints-To: news-abuse@nextra.no X-Trace: news3.oke.nextra.no 989848648 130.67.136.251 (Mon, 14 May 2001 15:57:28 MEST) NNTP-Posting-Date: Mon, 14 May 2001 15:57:28 MEST Organization: Nextra Public Access Xref: archiver1.sj.google.com comp.lang.ada:7487 Date: 2001-05-14T15:56:51+02:00 List-Id: 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 #include 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 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 > >