Ah yes, work perfectly. Actually both the solution syou and Daniele worked great.<br><br>Thanks.<br><br>-Rob<br><br><div class="gmail_quote">On Sat, May 10, 2008 at 7:36 AM, Tobias H. Michaelsen <<a href="mailto:tobias.michaelsen@gmail.com">tobias.michaelsen@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You can add the following to your ~/.bash_profile (or equivalent):<br>
<br>
export PKG_CONFIG_PATH="/Library/Frameworks/Mono.framework/Libraries/pkgconfig/"<br>
<br>
That did it for me.<br>
<br>
# Tobias<br>
<br>
2008/5/9 Daniele Alessandri <<a href="mailto:suppakilla@gmail.com">suppakilla@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> On 5/9/08, C.J. Adams-Collier <<a href="mailto:cjac@colliertech.org">cjac@colliertech.org</a>> wrote:<br>
><br>
>> Same problem here...<br>
><br>
> I got a successful compilation by replacing line 161 of context.rb and<br>
> hardcoding mono lib base directory just like this:<br>
><br>
> libdir = "/Library/Frameworks/Mono.framework/Versions/1.9.1/lib/"<br>
><br>
> instead of the original:<br>
><br>
> libdir = IO.popen('pkg-config --variable=libdir mono').read.strip<br>
><br>
> It's just a quick and dirty hack, but it works. Mono is not registered<br>
> with pkg-config using the official dmg installer:<br>
><br>
> adaniele@mugen:/ $ pkg-config --list-all | grep mono<br>
> adaniele@mugen:/ $<br>
><br>
> --<br>
> Daniele Alessandri<br>
> <a href="http://www.clorophilla.net/blog/" target="_blank">http://www.clorophilla.net/blog/</a><br>
> _______________________________________________<br>
> Ironruby-core mailing list<br>
> <a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br>
> <a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
><br>
_______________________________________________<br>
Ironruby-core mailing list<br>
<a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Rob Bazinet<br>InfoQ Ruby and .NET Editor<br><a href="http://www.accidentaltechnologist.com">http://www.accidentaltechnologist.com</a><br>