[Mono-list] installation of mono from source on Mandrake 9.1

Simon Kitching simon@ecnetwork.co.nz
15 May 2003 19:50:52 +1200


Hi,

I'm having some trouble with the Mono install; hope someone can help me
out. I've not found the answer in the "beginner's guide", FAQ or mail
archives.

My system: Mandrake 9.1 on x86.

I have installed mono from the Mandrake 8.2 rpms, but would like to
compile from the latest "stable" sources. When running "./configure" in
the "mono-0.24" directory generated from unpacking mono-0.24.tar.gz, I
get:

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

I have definitely installed Mandrake's gnome 2.2.1 package for Mandrake
9.1. Running "rpm -qa | grep glib" reports that I have:
* libglib1.2-1.2.10-6mdk
* libglib2.0_0-2.2.1-1mdk

I have the following files in /usr/lib:
* libglib-1.2.so.0 -> libglib-1.2.so.0.0.10*
* libglib-1.2.so.0.0.10*
* libglib-2.0.so.0 -> libglib-2.0.so.0.200.1*
* libglib-2.0.so.0.200.1*

I don't know much about pkg-config, but I did a search for "*.pc" files
and found a measly half-dozen in /usr/lib/pkgconfig. None of them are
for glib.

I'm guessing that Gnome2 for redhat installs a full set of ".pc" files,
that mandrake doesn't provide these, and that the configure scripts are
set up to require them. I'm also guessing that I do in fact have all the
necessary files, I just need to persuade configure that they are there.

So any ideas how I work around this?


Thanks in advance,

Simon