[Mono-osx] SVN Build not working
Gareth Baker
g.j.baker@dl.ac.uk
Wed, 27 Apr 2005 11:43:01 +0100
I've just this morning had to cope with this...
Assuming you have an existing framework re-run autogen.sh but prefix the
command with ACLOCAL_FLAGS="-I
/Library/Frameworks/Mono.framework/Versions/Current/share/aclocal"
(or run: export ACLOCAL_FLAGS="-I
/Library/Frameworks/Mono.framework/Versions/Current/share/aclocal" as a
separate command before you run autogen.sh)
Regards
Gareth Baker
On 27/4/05 11:00 am, "Christian Gross" <mailing@devspace.com> wrote:
> 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/pkg
> config
>
> 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
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx