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 728146 - Can't change {prefix} for custom installation
Can't change {prefix} for custom installation
Status: RESOLVED WONTFIX
Product: gobject-introspection
Classification: Platform
Component: build
2.40.x
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
: 639782 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-04-14 03:02 UTC by Daniel Espinosa
Modified: 2018-01-25 17:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Espinosa 2014-04-14 03:02:59 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.
Comment 1 André Klapper 2015-02-07 17:22:32 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Comment 2 Emmanuele Bassi (:ebassi) 2018-01-25 16:48:56 UTC
You should always install in your own prefix, and modify the XDG_DATA_DIRS and GI_TYPELIB_PATH to include your newly added prefix.
Comment 3 Emmanuele Bassi (:ebassi) 2018-01-25 17:06:11 UTC
*** Bug 639782 has been marked as a duplicate of this bug. ***