GNOME Bugzilla – Bug 728146
Can't change {prefix} for custom installation
Last modified: 2018-01-25 17:06:11 UTC
By introspection.m4 we have: INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` this makes that any configuration with custom --prefix set at ./configure will install always at the one set in gobject-introspection-1.0.pc for variable girdir. We need to change introspection.m4 to: INTROSPECTION_GIRDIR=$datadir/gir-1.0 INTROSPECTION_TYPELIBDIR=$libdir/girepository-1.0 All this makes that any make distcheck to fail, because it tries to install in a custom directory and uninstall, but with no privileges, will fail.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
You should always install in your own prefix, and modify the XDG_DATA_DIRS and GI_TYPELIB_PATH to include your newly added prefix.
*** Bug 639782 has been marked as a duplicate of this bug. ***