[Ironruby-core] IronRuby r100 on Mono

Robert Bazinet rbazinet at gmail.com
Sat May 10 23:34:53 EDT 2008


Ah yes, work perfectly.  Actually both the solution syou and Daniele worked
great.

Thanks.

-Rob

On Sat, May 10, 2008 at 7:36 AM, Tobias H. Michaelsen <
tobias.michaelsen at gmail.com> wrote:

> 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
> >
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>



-- 
Rob Bazinet
InfoQ Ruby and .NET Editor
http://www.accidentaltechnologist.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080510/b5e4e320/attachment.html>


More information about the Ironruby-core mailing list