After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156786 - GTK installs platform-specific data in $PREFIX/etc
GTK installs platform-specific data in $PREFIX/etc
Status: RESOLVED DUPLICATE of bug 129540
Product: gtk+
Classification: Platform
Component: .General
2.4.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-10-29 09:06 UTC by Hans Meine
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hans Meine 2004-10-29 09:06:49 UTC
I installed gtk+-2.4.9 on both Solaris and Linux, with 
--prefix=/software/gtk+-2.4.9 
--prefix=/software/gtk+-2.4.9/{SunOS-5.8,SuSE-9.0} respectively. 
 
Both separate builds installed platform-specific plugin-paths 
in /software/gtk+-2.4.9/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/gtk+-2.4.9/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 filed a very similar bugreport for pango; it became bug #156785 
(Here in GTK+, sysconfdir is used in $(top_srcdir)/gdk-pixbuf and 
$(top_srcdir)/modules/input.)
Comment 1 Owen Taylor 2004-10-29 16:17:16 UTC

*** This bug has been marked as a duplicate of 129540 ***