From: kpkilburn@... Date: 2009-03-17T23:32:32+09:00 Subject: Re: Trying to install Fox, FXRuby, and IFMapper on Mac OS X On Mar 17, 12:20 pm, Justin Collins wrote: > kpkilb...@gmail.com wrote: > > On Mar 17, 11:20 am, kpkilb...@gmail.com wrote: > > >> On Mar 17, 10:28 am, kpkilb...@gmail.com wrote: > > >>>> BUT... > > >>>> I get this when I try to run my program (indicating that fox16 is > >>>> still needed???)... > > >>>> kevin-p-kilburns-macbook:downloads KPKilburn$ cd ifmapper-1.0.0 > >>>> kevin-p-kilburns-macbook:ifmapper-1.0.0 KPKilburn$ ls > >>>> HISTORY.txt             IFMapper.rbw            TODO.txt                docs                    lib                     test > >>>> IFMapper.gemspec        README.txt              bin                     icons                   maps > >>>> kevin-p-kilburns-macbook:ifmapper-1.0.0 KPKilburn$ ruby ifmapper.rbw > >>>> /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.6.19-universal-darwin-9/ext/ > >>>> fox16/fox16.bundle: [BUG] Bus Error > >>>> ruby 1.8.6 (2007-03-13) [universal-darwin8.0] > > >>>> Abort trap > >>>> kevin-p-kilburns-macbook:ifmapper-1.0.0 KPKilburn$- Hide quoted text - > > >>>> - Show quoted text - > > >>> I just tried to install Fox via MacPorts, but it still gives me an > >>> error.  I believe Fox Toolkit is the problem. I can't get it compiled > >>> for some reason.- Hide quoted text - > > >>> - Show quoted text - > > >> Seems that this fixed the above problem:http://www.nabble.com/Failed:-phase-compiling:-djvulibre-3.5.20-1001-... > > >> But, I keep getting other errors.- Hide quoted text - > > >> - Show quoted text - > > > Just in case anyone is following, I just found this blog > >http://lylejohnson.name/blog/2007/12/01/building-fox-and-fxruby-on-ma... > > which has lots of the same errors I'm encountering.  Looks like I > > found the solutions (for now), so I'll stop for now. > > One thing to be aware of when dealing with Fox and FXRuby is that the > versions need to be the same. So FXRuby 1.6 will need Fox 1.6. > By the way, I have IFMapper installed with FXRuby 1.6 on Linux, so at > least you know it should work with it. > > -Justin- Hide quoted text - > > - Show quoted text - Thanks for the info. I didn't realize that they had to be the same. I finally got it to work. Unfortunately, I don't know exactly how. There were several places where I got errors in libXrandr.2.0.0.dylib (because it didn't exist) and libGL.dylib (re-exports because it existed in two places). Once I found the info on how to pass the right parameters to it, it worked. It was a little trial and error, so hopefully I can reproduce the results. Another unfortunate mistake was that I didn't compile FXRuby with the PNG library. Why would I need that? IFMapper is the only thing I'll be using it for. Well, it seems that IFMapper uses PNG icons in it. Oh well. Back to work.