I just got bit by this DESTDIR installation problem, which I see has 
been discussed in the past before (e.g., 
http://linuxfromscratch.org/pipermail/blfs-support/2006-September/060985.html).

The Makefile in gtk+-2.10.13/gdk-pixbuf has this comment before the 
install-data-hook target:

# Running this if cross compiling or if DESTDIR is set is going to
# not work at all, so skip it
# We use install-data-hook here to workaround a bug in automake and/or 
libtool
# that makes the install target for the loader libraries a dependency on
# install-data-am, and not install-exec-am. We need to ensure this gets run
# after the libraries are installed in their final locations.

If you do install into DESTDIR, it results in the following:

***
*** Warning: gdk-pixbuf.loaders not built
***
*** Generate this file manually on host
*** system using gdk-pixbuf-query-loaders
***

The not so obvious side effect is that /etc/gtk-2.0 doesn't get 
installed either and the message doesn't indicate that's where 
gdk-pixbuf.loaders ought to go.  So I only discovered this while 
building libgnomeui (yes, I overlooked the warning :-().

I'm wondering if the gtk2 page shouldn't have a Configuring GTK+ (or 
post installation) section that discusses the possibility that 
/etc/gtk-2.0/gdk-pixbuf.loaders may not have been installed and if so, 
how to fix that.

Joe
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to