[Mono-osx] Error building mono from CVS on OS X

Paolo Molaro lupus at ximian.com
Mon May 30 03:39:34 EDT 2005

On 05/27/05 Michael Taylor wrote:
> I'm trying to build mono from CVS, and I'm having difficulties.  I'm  
> a newbie at this.  Following the README directions, I'm getting this  
> error:
> > ./autogen.sh --prefix=$HOME/Projects/mono/test
> Running libtoolize...
> Running aclocal  ...
> Running autoheader...
> ...
> checking for pkg-config... /usr/bin/pkg-config
> ./configure: line 20888: syntax error near unexpected token  
> ./configure: line 20888: `PKG_CHECK_MODULES(BASE_DEPENDENCIES,  
> glib-2.0 >= $GLIB_REQUIRED_VERSION)'

This is not OSX-specific.
Anyway, you likely need to set the ACLOCAL_FLAGS enc var before running autogen.sh:

ACLOCAL_FLAGS="-I /sw/share/aclocal" ./autogen.sh ...


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-osx mailing list