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

Steve Mentzer steve.mentzer@mullinconsulting.com
Thu, 6 Feb 2003 18:50:58 -0800


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2CE53.BE1A2EDA
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


has anyone else experienced problems building mono on OS/X 10.2 jag? It =
was supposed to be OS/X compatible as of v.019, but I am encountering an =
error when the autogen.sh script is attempting to locate glib-2.0.=20

Running pkg-config from the command line reveals that it has located it =
successfully, as I have installed it via fink/dselect

Here is the process I am using to build /mono.=20

1 - Get the latest source tree from cvs, put in my ~/dotnet folder.
2 - Go to the ~/dotnet/mono folder, and run autogen.sh

here is the error I am receiving

checking for pkg-config... /sw/bin/pkg-config
./configure: line 7995: syntax error near unexpected token =
`PKG_CHECK_MODULES(BASE_DEPENDENCIES,'
./configure: line 7995: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 =
>=3D $GLIB_REQUIRED_VERSION)'

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 =
`aclocal.m4'.
Running aclocal  ...
Running autoheader...
Running automake --gnu  ...
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
mono/arch/Makefile.am: installing `./depcomp'
mono/jit/Makefile.am: installing `./compile'
automake: processing Makefiles another time to fix them up.
Running autoconf ...
Running ./configure --enable-maintainer-mode --enable-compile-warnings =
...
checking build system type... powerpc-apple-darwin6.3
checking host system type... powerpc-apple-darwin6.3
checking target system type... powerpc-apple-darwin6.3
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... =
yes
checking host platform characteristics... ok
checking for gcc... gcc
checking for gcc... (cached) gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...=20
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O =
dynamically linked shared library
checking command to parse /usr/bin/nm -p output... ok
checking for dlfcn.h... no
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... =
yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin6.3 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for sys/filio.h... yes
checking for sys/sockio.h... yes
checking for netdb.h... yes
checking for utime.h... yes
checking for semaphore.h... yes
checking for sys/un.h... yes
checking for elf.h... no
checking for wchar.h... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... 4
checking for pkg-config... /sw/bin/pkg-config
./configure: line 7995: syntax error near unexpected token =
`PKG_CHECK_MODULES(BASE_DEPENDENCIES,'
./configure: line 7995: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 =
>=3D $GLIB_REQUIRED_VERSION)'


------_=_NextPart_001_01C2CE53.BE1A2EDA
Content-Type: application/ms-tnef;
	name="winmail.dat"
Content-Transfer-Encoding: base64

eJ8+IjsCAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAHgAAAE9TL1ggYnVpbGQgZXJyb3Ig
Zm9yIGdsaWItMi4wAIUJAQWAAwAOAAAA0wcCAAYAEgAyADoABABkAQEggAMADgAAANMHAgAGABIA
MgA6AAQAZAEBCYABACEAAAAxN0EwQ0NGNDMwODBFQzRGQkYxREMwQzM0RkEyQkEwQQBtBwEDkAYA
dBEAADcAAAADACYAAAAAAAMANgAAAAAAQAA5ANouGr5TzsIBHgA9AAEAAAABAAAAAAAAAAIBRwAB
AAAAOQAAAGM9dXM7YT0gO3A9TXVsbGluIENvbnN1bHRpbjtsPUxBRVhDSC0wMzAyMDcwMjUwNTha
LTE1MzU4AAAAAB4ASQABAAAAJwAAAE1vbm8tbGlzdCBkaWdlc3QsIFZvbCAxICM3NzcgLSAxMiBt
c2dzAABAAE4AANgRIf7NwgEeAFoAAQAAACMAAABtb25vLWxpc3QtcmVxdWVzdEBsaXN0cy54aW1p
YW4uY29tAAACAVsAAQAAAGMAAAAAAAAAgSsfpL6jEBmdbgDdAQ9UAgAAAABtb25vLWxpc3QtcmVx
dWVzdEBsaXN0cy54aW1pYW4uY29tAFNNVFAAbW9uby1saXN0LXJlcXVlc3RAbGlzdHMueGltaWFu
LmNvbQAAAgFcAAEAAAAoAAAAU01UUDpNT05PLUxJU1QtUkVRVUVTVEBMSVNUUy5YSU1JQU4uQ09N
AB4AXQABAAAAIwAAAG1vbm8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