Re: How to compile gobject-introspection ?
- Date: Tue, 8 Aug 2017 22:40:22 +0800
- From: Chun-wei Fan (范君維) via gtk-devel-list <gtk-devel-list@xxxxxxxxx>
- Subject: Re: How to compile gobject-introspection ?
Andy 於 2017/8/8 下午 10:19 寫道:
I try sudo apt-get install glib-2.0
and is the same
Normally the package managers will not install the latest unstable
versions of GLib, but only the stable versions that they support for
their distribution release. So, you will need to build and install the
latest unstable (2.53.x) version of GLib (make sure that you don't try
to overwrite the GLib that your package manager provides, so you install
it in a private location such as $HOME/gnome.build.unstable), and then
when you build gobject-introspection, you need to prepend your
./autogen.sh with PKG_CONFIG_PATH= and LD_LIBRARY_PATH=, like:
./autogen (...whatever options you have)
Then you should be able to build and install it properly.
With blessings, and cheers!
gtk-devel-list mailing list