Fedora and CentOS and Redhat based Distros require the installation of glib2-devel. Else the installation results in an error.