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




On 20 Apr 1998, Owen Taylor wrote:

> >   I just did a clean system install, and the latest release of gtk+
> > (v1.0.0) fails when compiling, complaining about glibconfig.h not being
> > found. I thought this was fixed in v 0.9.6?
> > 
> >   I've symlinked it to /usr/local/include and it compiles fine now.

I had a similar problem: gtk+ itself compiled and installed fine, but not
programs using gtk+. I "solved" the problem in the same way, using a
symlink.

> Could you explain further? GTK+ installs glibconfig.h 
> (in $exec_prefix/lib/glib/include/) but doesn't itself need it
> installed anywhere. (It finds it in the uninstalled sources)

>From gtk/gtk.h:

#include <gdk/gdk.h>


>From gdk/gdk.h:

#include <gdk/gdktypes.h>


>From gdk/gdktypes.h:

/* GDK uses "glib". (And so does GTK).
 */
#include <glib.h>


>From glib.h:

#include <glibconfig.h>


Ulric



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