[Mono-list] glib-2.0 version check in ./configure

Miguel de Icaza miguel@ximian.com
17 Jul 2002 15:23:41 -0400


>   I checked out current versions of mono and mcs from CVS, and tried to
>   build mono.
> 
>   However, I ran into ./configure trouble and got the following error
>   messages
> 
>     ./configure: line 8491: syntax error near unexpected token 
>     `PKG_CHECK_MODULES(BASE_DEPENDENCIES,'
> 
>     ./configure: line 8491: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, 
>     glib-2.0 >= $GLIB_REQUIRED_VERSION)'

You need to have pkg-config installed, and the pkg.m4 file somewhere. 
Maybe you have to point to it:

export ACLOCAL_FLAGS="-I /your/prefix/share/aclocal"

And then re-run autogen.sh

Miguewl