Re: [gtk-list] Re: glibconfig.h problem with v1.0.0




On 21 Apr 1998, Preben Randhol wrote:

> I haven't had any problems compiling gtk+, but when I tried to compile
> UAE-0.7.0.
> 
> The problem is that the glib.h include file in /usr/local/include has
> this entry in it:
> 
> #include <glibconfig.h>
> 
> This include file is located in /usr/local/lib/glib/include. Thus the
> configuration program for UAE didn't detect gtk because :
> 
> configure:2517: checking for gtk/gtk.h
> configure:2527: gcc -E  conftest.c >/dev/null 2>conftest.out
> In file included from /usr/local/include/gdk/gdktypes.h:25,
>                  from /usr/local/include/gdk/gdk.h:23,
>                  from /usr/local/include/gtk/gtk.h:23,
>                  from configure:2523:
> /usr/local/include/glib.h:22: glibconfig.h: No such file or directory
>  
> I simply symlinked glibconfig.h to /usr/local/include and then it
> worked. 

This is from WARNING-0.99.7:

- glibconfig.h has moved from $includedir (default /usr/local/)
  to $libdir/glib/include (default /usr/local/lib/glib/include),
  to support sharing header files between architectures.

  Please remove the header file from the old location.
   
  The new include directory needs to be specified when compiling
  GTK programs. Again, the easiest way to get this right is
  to use AM_PATH_GTK, and/or gtk-config.


Ulric



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