solution for error: glib not found or too old

 sudo apt-get install libgtk1.2-dev

another error we get is


checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***





Solution for that is:

sudo apt-get install libglib2.0-0, libglib2.0-0-dev

or 

sudo apt-get install libglib*




No comments: