[Mono-list] Mono embedding issue

Robert Jordan robertj at gmx.net
Thu Oct 12 08:34:49 EDT 2006


Andreas Färber wrote:
> Am 12.10.2006 um 13:32 schrieb Robert Jordan:
> 
>> Supposing your new Mono prefix will be ~/mono:
>>
>> mkdir ~/mono
>> cp -rp /Library/Frameworks/Mono.framework/Libraries ~/mono/lib
>>
>> After that adjust the "prefix" entry of all ~/mono/lib/pkgconfig/*.pc
>> files and configure the Mono sources you (optimally) got from SVN  
>> with:
>>
>> PKG_CONFIG_PATH=~/mono/lib/pkgconfig ./configure --prefix=~/mono
> 
> Thanks. When I do
> PKG_CONFIG_PATH=... ./autogen.sh --prefix=...
> I get:
> ...
> checking for pkg-config... /usr/bin/pkg-config
> ./configure: line 22241: syntax error near unexpected token  
> `BASE_DEPENDENCIES,'
> ./configure: line 22241: `  PKG_CHECK_MODULES(BASE_DEPENDENCIES,  
> glib-2.0 >= $GLIB_REQUIRED_VERSION)'
> 
> Prefix has been set in all .pc files as instructed, including  
> glib-2.0.pc.
> I'm at revision 66592.

What's the output of this line?

PKG_CONFIG_PATH=~/mono/lib/pkgconfig  pkg-config --libs glib-2.0

Robert



More information about the Mono-list mailing list