[Ironruby-core] IronRuby r100 on Mono

Tobias H. Michaelsen tobias.michaelsen at gmail.com
Sat May 10 07:36:57 EDT 2008


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 <suppakilla at gmail.com>:
> On 5/9/08, C.J. Adams-Collier <cjac at colliertech.org> 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:
>
> adaniele at mugen:/ $ pkg-config --list-all | grep mono
> adaniele at mugen:/ $
>
> --
> Daniele Alessandri
> http://www.clorophilla.net/blog/
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>


More information about the Ironruby-core mailing list