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.
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.
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 >=
$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
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...
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 >=
$GLIB_REQUIRED_VERSION)'
<<winmail.dat>>
