[Mono-list] configure ERROR: PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)'

Ben Aurel ben.aurel at gmail.com
Wed Aug 20 05:32:01 EDT 2008


thanks for the hint

this is how I got it running

ACLOCAL_FLAGS="-I /usr/local/share/aclocal $ACLOCAL_FLAGS"
./autogen.sh --prefix=/usr/local/mono


concerning the path. I first made the mistake to get the aclocal path by running
   $ aclocal --print-ac-dir
this gave
   /usr/share/aclocal
and that didn't work

so I made a search by running
  $ find /usr -iname 'share\/aclocal'
and that gave me the second path
   /usr/local/share/aclocal
who actually worked

maybe there is a better way to detect the correct aclocal path ...

ben





On Wed, Aug 20, 2008 at 1:48 AM, Andreas Färber <andreas.faerber at web.de> wrote:
>
> Am 20.08.2008 um 00:44 schrieb Ben Aurel:
>
>> I try to compile mono from svn on my mac intel machine (os x leopard,
>> 10.5.4)
>> [...]
>> checking integrity of package... ok
>> checking for pkg-config... /usr/local/bin/pkg-config
>> ./configure: line 23938: syntax error near unexpected token
>> `BASE_DEPENDENCIES,'
>> ./configure: line 23938: `  PKG_CHECK_MODULES(BASE_DEPENDENCIES,
>> glib-2.0 >= $GLIB_REQUIRED_VERSION)'
>
> You need to set ACLOCAL_FLAGS, see the Mono-osx archives.
>
> Andreas
>
>


More information about the Mono-list mailing list