GNOME Bugzilla – Bug 156785
Pango installs platform-specific data in $PREFIX/etc
Last modified: 2004-12-22 21:47:04 UTC
I installed pango-1.4.1 on both Solaris and Linux, with --prefix=/software/pango-1.4.1 --prefix=/software/pango-1.4.1/{SunOS-5.8,SuSE-9.0} respectively. Both separate builds installed platform-specific plugin-paths in /software/pango-1.4.1/etc AFAICS; since the Solaris "make install" happened after the Linux one, I could not run gtk-demo under Linux anymore, because it tried to load plugins from /software/pango-1.4.1/SunOS-5.8 and complained about wrong ELF formats. I solved the problem by giving --sysconfdir=$EXEC_PREFIX/etc to configure, which seems to me to be a valid fix. (Another possibility would be to separate plugin-specific information from sysconfdir-data and install it under $lib_dir/plugins or sth. like that.) BTW: I will file this very bugreport twice, since the same thing happens in gtk..
See bug #156786, that's the one for GTK+. For clarification of "seems to me to be a valid fix": I meant that sysconfdir should default to $(exec_prefix)/etc, as long as platform-specific stuff is installed in it.
*** This bug has been marked as a duplicate of 129534 ***