[Mono-osx] Error building mono from CVS on OS X
mtaylor at alias.com
Sun May 29 08:18:15 EDT 2005
On May 27, 2005, at 8:23 PM, Adhamh Findlay wrote:
> Typically we build from SVN not CVS and we don't use fink, but
> compile the deps indepently.
> What's the output of "which pkg-config"?
> "echo $PKG_CONFIG_PATH"
> which pkg-config
> echo $PKG_CONFIG_PATH
Now, I set that one myself. I also tried leaving it empty, in which
case pkg-config finds the version of glib that is in my installed
version of Mono.
So, if I unset PKG_CONFIG_PATH, I get:
> pkg-config --libs glib-2.0
-L/Library/Frameworks/Mono.framework/Versions/1.1.7/lib -lglib-2.0 -
Any suggestions would be well received:-) I can always build glib
> Michael Taylor wrote:
>> I'm trying to build mono from CVS, and I'm having difficulties.
>> I'm a newbie at this. Following the README directions, I'm
>> getting this error:
>> > ./autogen.sh --prefix=$HOME/Projects/mono/test
>> Running libtoolize...
>> Running aclocal ...
>> Running autoheader...
>> checking for pkg-config... /usr/bin/pkg-config
>> ./configure: line 20888: syntax error near unexpected token
>> ./configure: line 20888: `PKG_CHECK_MODULES(BASE_DEPENDENCIES,
>> glib-2.0 >= $GLIB_REQUIRED_VERSION)'
>> I am trying to build on OS X 10.4.1 (Tiger). I do have glib 2.0
>> installed via fink in /sw/lib. Calling pkg-config directly gives:
>> > pkg-config --libs glib-2.0
>> -L/sw/lib -lglib-2.0 -lintl -liconv
>> So, it should be found. Any hints would be appreciated. I'd like
>> to be able to build from CVS so that I keep testing and logging
>> bugs with IronPython on Mono :-)
>> Mike Taylor
>> Software Architect
>> Alias | www.alias.com
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
More information about the Mono-osx