[Mono-list] glib-2.0 version check in ./configure
Miguel de Icaza
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
> ./configure: line 8491: syntax error near unexpected token
> ./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