[Mono-osx] Error building mono from CVS on OS X

Michael Taylor 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
/usr/bin/pkg-config

 > echo $PKG_CONFIG_PATH
/sw/lib/pkgconfig

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 - 
lintl -liconv

Any suggestions would be well received:-)  I can always build glib  
myself...

Cheers!

/\/\ike


>
> adhamh
>
> Michael Taylor wrote:
>
>
>>
>> Hi,
>>
>> 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   
>> `BASE_DEPENDENCIES,'
>> ./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 :-)
>>
>> Cheers!
>>
>> /\/\ike
>>
>>
>> -- 
>> Mike Taylor
>> Software Architect
>> Alias | www.alias.com
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>
>



More information about the Mono-osx mailing list