Andreas Gschwendtner wrote: > > Hi, > > I guess I found the solution to my Gnome problem by applying 2 cent common > sense. I located the "missing" file "gdk-pixbuf.h" in > /sw/include/gdk-pixbuf-1.0/gdk-pixbuf/ *BUT* it _should_ be in > /sw/include/gdk-pixbuf/ (see fink error msg!).
This is not the true solution. gnome has a rather complicated system of subdirectories and associated config scripts that know about these. These config scripts *must* be used in the right way in order to be able to compile gnome stuff. For example, control-center installs headers into /sw/include/libcapplet1/ and it provides a script /sw/lib/cappletConf.sh that knows about this. This script is used by gnome-config with the 'capplet' library option: % gnome-config --cflags capplet -I/sw/include/libcapplet1 -I/sw/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include -I/sw/include -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/include/orbit-1.0 -I/sw/include/gtk-1.2 -I/usr/X11R6/include The problem is that the gnomes keep shuffling things around like mad, and therefore if you have two pieces of gnome that are slightly out of sync, they will show problems like the ones you encountered. In the case at hand, the /sw/include/gdk-pixbuf-1.0/ and /sw/include/libcapplet1/ *are correct*, but in order to find the headers there, the compiler command line has to contain `gdk-pixbuf-config --cflags` (or its output, something like $PIXBUF_CFLAGS) in the first case, and ` gnome-config --cflags capplet` in the second case. The gnome packages in unstable are doing this. You seem to have a mixture of new (gdk-pixbuf and control-center) and old (gnome-core) packages that don't cooperate correctly. > I guess this problem does not only affect my fink installation, it seems > that these two files clearly were put in the wrong location. What's not > clear to me is: why are these files in the wrong locations? They are not, see above. And I think Masanori fixed some of the stuff in stable already. But IMHO the real solution right now would be to move *all* the gnome stuff from unstable to stable. Most people here who said that gnome is working out of the box for them (like me), are using the unstable distribution. But I am redirecting this to the fink-users list to hear some more opinions. -- Martin _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
