[Gtk-sharp-list] ./configure [Error]

John Luke jluke@users.sourceforge.net
Mon, 08 Dec 2003 16:10:47 -0500

On Mon, 2003-12-08 at 15:39, Met @ Uber wrote:
> I just tried recompiling Gtk# from the .14 release.  I get the following
> error even though I have mono/mcs installed from the latest CVS
> release.  Any idea how to fix the following problems?  The only option I
> passed into Mono, Mcs, and Gtk# was `--prefix=/usr/local`.
> ====
> checking for pkg-config... /usr/bin/pkg-config
> checking for mono... Package mono was not found in the pkg-config search
> path.
> Perhaps you should add the directory containing `mono.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'mono' found
> configure: error: Library requirements (mono) not met; consider
> adjusting the PKG_CONFIG_PATH environment variable if your libraries are
> in a nonstandard prefix so pkg-config can find them.
> ===
Looks like you may need mono-devel installed to get the mono.pc file
which is what configure is looking for.  You can check by running a
command like this:
  rpm -ql mono | grep mono.pc