You can add the following to your ~/.bash_profile (or equivalent):
export PKG_CONFIG_PATH="/Library/Frameworks/Mono.framework/Libraries/pkgconfig/"
That did it for me.
# Tobias
2008/5/9 Daniele Alessandri <[EMAIL PROTECTED]>:
> On 5/9/08, C.J. Adams-Collier <[EMAIL PROTECTED]> wrote:
>
>> Same problem here...
>
> I got a successful compilation by replacing line 161 of context.rb and
> hardcoding mono lib base directory just like this:
>
> libdir = "/Library/Frameworks/Mono.framework/Versions/1.9.1/lib/"
>
> instead of the original:
>
> libdir = IO.popen('pkg-config --variable=libdir mono').read.strip
>
> It's just a quick and dirty hack, but it works. Mono is not registered
> with pkg-config using the official dmg installer:
>
> [EMAIL PROTECTED]:/ $ pkg-config --list-all | grep mono
> [EMAIL PROTECTED]:/ $
>
> --
> Daniele Alessandri
> http://www.clorophilla.net/blog/
> _______________________________________________
> Ironruby-core mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core