glib configure error
I am running Reh Hat 9. I am a newbie to linux. I am trying to configure a program ./configure I get the following error
checking for glib-config... (cached) /usr/bin/glib-config ./configure: line 2624: min_glib_version: command not found checking for GLIB - version >= ... ./configure: line 1: /usr/bin/glib-config: No such file or directory ./configure: line 1: /usr/bin/glib-config: No such file or directory no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB was incorrectly installed *** or that you have moved GLIB since it was installed. In the latter case, you *** may want to edit the glib-config script: /usr/bin/glib-config configure: error: *** GLIB >= 1.2.2 not installed - please install first *** I cant install glib-1.2.2 because glib-1.2.10-10 is supposedly installed I cant run glib-config I cant install glib-1.1.10-10 because it is already installed according to the system The config.log file has the following error configure:2592: checking for glib-config configure:2627: checking for GLIB - version = 1.2.2 configure:2726: gcc -o conftest -g -O2 conftest.c 1>&5 configure:2652:18: glib.h: No such file or directory I tried editing configure so that minglib_version >=1.2.2 but that didnt help. Any ideas, where am I going wrong?? Thanx in advance. bmeagle |
"I cant install glib-1.2.2 because glib-1.2.10-10 is supposedly installed"
glib-1.2.10-10 is a later version than glib-1.2.2 so you do not want to downgrade to glib-1.2.2 anyway. It is likely that you need to install the development version of glib which is probably called glib-devel-1.2.10-10 or perhaps glib-dev-1.2.10-10. ------------------ Steve Stites |
All times are GMT -5. The time now is 12:23 AM. |