This problem has probably been reported before, however I couldn't find anything on the list to resolve it. I downloaded the latest mono tarball and attempted to install it using the steps outlined on the download page.
 
./configure --prefix=/usr/local
However the compile fails with the following output:
 
checking size of void *... 4
checking for pkg-config... /usr/bin/pkg-config
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
checking for glib-2.0 >= 1.3.11... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
 
configure: error: Library requirements (glib-2.0 >= 1.3.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
 
First I checked my rpm database for glib using rpm -qa | grep 'glib'. As you can see below I have version 2.3.2-27.9 along with the devel version.  I also tried setting the PKG_CONFIG_PATH env var to /usr/lib still nothing..
 
glib-1.2.10-10
glib2-2.2.1-1
glibc-kernheaders-2.4-8.10
glibc-common-2.3.2-27.9
glibc-2.3.2-27.9
glibc-devel-2.3.2-27.9
 
Any ideas why this is failing on the compile?  Thanks
 
 
 

Reply via email to