[Mono-list] OS/X build error for glib-2.0

Steve Mentzer steve.mentzer@mullinconsulting.com
Fri, 7 Feb 2003 19:36:34 -0800

I finally figured out that my libtool was breaking the build script. I =
was using v1.4.3, which I downloaded via fink.=20

After upgrading to the December 2002 Apple Dev tools (which apparently =
replaced the bad version), everything came up roses...

Thanks Everyone!

-----Original Message-----
From:	Paolo Molaro [mailto:lupus@ximian.com]
Sent:	Fri 2/7/2003 8:30 AM
To:	mono-list@lists.ximian.com
Subject:	Re: [Mono-list] OS/X build error for glib-2.0

On 02/06/03 Steve Mentzer wrote:
> Running pkg-config yields the following results
> [localhost:~/dotnet/mono] stevem% pkg-config --libs glib-2.0
>  -L/sw/lib -lglib-2.0 -lintl -liconv =20
> Here is a dump of the build process. Can someone help?
> TIA!
> *Warning**: I am going to run `configure' with no arguments.
> If you wish to pass any to it, please specify them on the
> `./autogen.sh' command line.
> Running libtoolize...
> You should add the contents of `/sw/share/aclocal/libtool.m4' to =
> checking for pkg-config... /sw/bin/pkg-config
> ./configure: line 7995: syntax error near unexpected token =
> ./configure: line 7995: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 =

pkgconfig also installs a file named pkg.m4.
aclocal needs the file to properly build a configure.in file,
if it isn't found automatically, you can specify the ACLOCAL_FLAGS
env to autogen.sh with something like:

ACLOCAL_FLAGS=3D"-I /path/where/pkg.m4/is/located" ./autogen.sh

or just run aclocal -I /path by hand and then automake, autoconf etc.


lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better
Mono-list maillist  -  Mono-list@lists.ximian.com