[CentOS] how to update glib-2.28.8 to glib-2.40.0 or newer version

Fri Jul 1 05:54:53 UTC 2016
qw <applemax82 at 163.com>


I'm trying to build gstreamer sdk on centos 6.7. When configure is run for 'gstreamer-1.8.2.tar.xz' on centos 6.7, error messages are reported as below:

checking for GLIB... no
configure: Requested 'glib-2.0 >= 2.40.0' but version of GLib is 2.28.8
configure: error: This package requires GLib >= 2.40.0 to compile.

The command of 'yum install glib*' can only update glib to glib-2.28.8. How to update glib to the version of >=2.40.0 on centos 6.7?