(The following are Al Chou's details on how he got the IDE working on his Power Mac G4 running
OS X 10.3. Al mentions that this is just one way to do it, and not necessarily the One True Way[TM].)
I managed to install and start up Mondrian on the Mac, create a project with a
file in it (just "puts 'Hello world'" <g>), and run the file. Below is how I
got here.
I had DarwinPorts already installed from
something else I wanted that only seemed to be packaged by them (I had tried
Fink but they don't have FXRuby, although I've
used Fink to install other things). So, following your advice about using
prepackaged versions, I did the following.
sudo gcc_select 3.3
(for reasons unknown, GCC 3.3 was necessary to build Ruby
1.8.1; the builds below were done with GCC 3, because that happened to be the
setting when I started this process -- I'm quoting what I did in a different
order from how I actually did it)
sudo port install ruby
sudo port install fox
(I suppose this step could be skipped, given that either
of the following two would probably install it as a dependency)
sudo port install fxscintilla
sudo port install fxruby
Add
setenv RUBYLIB /opt/local/lib/ruby/site_ruby/1.8:/opt/local/lib/ruby/
site_ruby/1.8/powerpc-darwin7.0:/opt/local/lib/ruby/site_ruby
to my .cshrc as directed by the FXRuby build (actually, it gives "export"
directions for sh/bash, but you get the idea).
Start up the X Window System server (I used Apple's X11).
And finally, cd to the mondrian-v1.0beta1 directory and say
/opt/local/bin/ruby Mondrian.rbw
Of course, it didn't all go smoothly. I unintentionally changed GCC versions in the middle of one
of the builds, because I was simultaneously installing Fink's version of Fox,
which wanted GCC 3 rather than 3.3. And because Ruby 1.6 appears on my path
earlier than 1.8 (assuming I had even had 1.8 installed at the time), I got
things installed into
/opt/local/lib/ruby/site_ruby/1.6
instead of
/opt/local/lib/ruby/site_ruby/1.8
and had to rename the directory at the end. Also, the DarwinPorts FXRuby
install had a typo in the value of RUBYLIB,
/opt/local/libuby/site_ruby/1.6/powerpc-darwin7.0
instead of
/opt/local/lib/ruby/site_ruby/1.6/powerpc-darwin7.0
that I'll report to its maintainer.