[Mono-osx] SVN Build not working
Christian Gross
mailing@devspace.com
Wed, 27 Apr 2005 12:00:03 +0200
Hi,
I downloaded the latest mono and mcs SVN sources from the main trunk.
I run
centaur:~/apps/dists/mono-svn/mono cgross$ ./autogen.sh
--prefix=/Users/cgross/apps/mono-svn --with-preview=yes
A warning as follows is generated (but this is not the problem).
Running autoheader...
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])
The real problem is the following error
checking for pkg-config... /sw/bin/pkg-config
./configure: line 21434: syntax error near unexpected token
`BASE_DEPENDENCIES,'
./configure: line 21434: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0
>= $GLIB_REQUIRED_VERSION)'
My pkg-config path seems set as shown by the following output.
centaur:~/apps/dists/mono-svn/mono cgross$ echo $PKG_CONFIG_PATH
/Users/cgross/mono/lib/pkgconfig:/Users/cgross/local/lib/pkgconfig:/sw/lib/pkgconfig
In the directory /sw/lib/pkg is the file glib-2.0.pc, containing the
following
prefix=/sw
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums
Name: GLib
Description: C Utility Library
Version: 2.2.3
Libs: -L${libdir} -lglib-2.0 -lintl -liconv
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include
My question is what am I doing wrong?
Thanks
Christian Gross