Announcement (2017-05-07): www.ruby-forum.com is now read-only since I
unfortunately do not have the time to support and maintain the forum any
more. Please see rubyonrails.org/community and ruby-lang.org/en/community
for other Rails- und Ruby-related community platforms.

On Mon, Mar 16, 2009 at 3:37 PM, <removed_email_address@domain.invalid> wrote:
> 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).
The easiest way to do it if you're using the built-in Ruby that comes
with Leopard is to install the precompiled binary gem for OS X. I'm
fairly sure that Apple also includes RubyGems with their Ruby
distribution, but you can check by typing:
gem --version
If you don't have RubyGems installed, go take care of that first. Once
it's set up, install the FXRuby gem for OS X:
sudo gem fxruby
And that should do the trick.
Hope this helps,
Lyle

On Mar 16, 9:53 pm, Lyle J. <removed_email_address@domain.invalid> wrote:
> distribution, but you can check by typing:> Hope this helps,>> Lyle
Thanks for the help. I tried that, but it didn't work. Do I need to
install Fox first because FXRuby relies on it (or maybe it's just the
IFMapper that needs it?). I saw it somewhere that I needed it, but
can't find it now.

On Mar 17, 11:20 am, removed_email_address@domain.invalid wrote:
>> > > kevin-p-kilburns-macbook:ifmapper-1.0.0 KPKilburn$- Hide quoted text ->> 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-f...
which has lots of the same errors I'm encountering. Looks like I
found the solutions (for now), so I'll stop for now.

removed_email_address@domain.invalid wrote:
>>>>>>>> ruby 1.8.6 (2007-03-13) [universal-darwin8.0]>>> - Show quoted text -> 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

On Mar 17, 12:20 pm, Justin C. <removed_email_address@domain.invalid> wrote:
> >>>> kevin-p-kilburns-macbook:downloads KPKilburn$ cd ifmapper-1.0.0>> >> But, I keep getting other errors.- Hide quoted text -> 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.

On Mar 16, 2009, at 3:37 PM, removed_email_address@domain.invalid 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-f...
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