Re: cannot compile gtk programs



Are you certain that you installed the glib-devel RPM?

doobman wrote:
> 
> I have recently installed RH 5.2 and installed gnome .099.7 with RPMs.
> I have tried installing a slew of programs including x11amp, balsa,
> gFTP, and i think thats it.  On every one I try to compile, I get a
> similar messege.  This is taken from the ./configure from balsa,
> everything is working until it trys to compile a test program:
> configure:2102: gcc -o conftest -g -02 -I/usr/X11R6/include
> -I/usr/lib/glib/include conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk
> -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm 1>&5
> In file included from /sr/include/gdk/gdk.h:23,
>                             from /usr/include/gtk/gtk.h:23,
>                             from configure:2094:
> /usr/include/gdk/gdktypes.h:25:  glib.h:  No such file or directory
> In file included from /usr/include/gtk/gtkarg.h:23.
>                             from /usr/include/gtk/gtkobject.h:23,
>                             from /usr/include/gtk/gtaccelgroup.h:27,
>                             from /usr/include/gtk/gtk.h:24,
>                             from configure:2094:
> /usr/include/gtk/gtktypeutils.h:23:  glib.h:  No such file or directory
> configure:  failed program was:
> #line 2092 "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; }
> 
> I'm verified that these files are in /usr/include/ anything you could
> tell me would be an extreme help
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

-- 
---------------
Jesse D. Sightler
http://www3.pair.com/jsight/

"Do not use a hatchet to remove a fly from your friend's forehead." 
      - Chinese Proverb



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]