From: lists Date: 2009-03-17T23:41:15+09:00 Subject: Re: Trying to install Fox, FXRuby, and IFMapper on Mac OS X On Mar 16, 2009, at 3:37 PM, kpkilburn@gmail.com wrote: > I can't seem to find a specific answer on this... > > I'm trying to install FXRuby, which apparently requires Fox to be > installed first, in order to run a Ruby program called IFMapper. > > I'm running Mac OS X 10.5.6 and installed Ruby (though it does come > with the OS, so I'm not sure if that messed something up). > > When I try to install Fox using this method: > http://davidrupp.blogspot.com/2008/01/installing-fox-and-fxruby-on-mac-os-x.html This may not apply exactly, but here are notes to myself from the last time I tried to install fxri (using macports). These instructions are old, so you a) could probably use Leopard's version of ruby and b) could probably use newer versions. Anyway, I hope this helps: $ sudo port install ruby $ sudo port install fox $ sudo port install fxscintilla Here are the versions I've got: $ port installed ruby fox fxscintilla The following ports are currently installed: ruby @1.8.4_2 (active) fox @1.2.13_1 (active) fxscintilla @1.63_0+darwin_8 (active) $ sudo gem install fxruby -- --with-fox-include=/opt/local/include/ fox-1.2 --with-fox-lib=/opt/local/lib --with-fxscintilla-include=/opt/ local/include/fxscintilla --with-fxscintilla-lib=/opt/local/lib (I selected fxruby version 1.2.6 instead of 1.4.4 since I have fox 1.2 instead of 1.4 installed). Then build and install fxruby (1.2.6 - the same version as the gem) from source (yes, this is necessary): $ ruby install.rb config -- --with-fox-include=/opt/local/include/ fox-1.2 --with-fox-lib=/opt/local/lib --with-fxscintilla-include=/opt/ local/include/fxscintilla --with-fxscintilla-lib=/opt/local/lib $ ruby install.rb setup $ sudo ruby install.rb install $ sudo gem install fxri