Lyle Johnson wrote:
> 
>  2. What are the g++ header files doing in /usr/local/include of all places?

This one clued me in: I had installed Intel's Fortran compiler (gasp!),
and it included a near complete duplication of gcc's headers.  I purged
that mess and FXRuby built flawlessly...

Now I think I just have the test file setup wrong, e.g., I currently have

 <file name="GuiDuckUT.rb">
  require 'test/unit'

  class GuiDuckUT < Test::Unit::TestCase
   def testOne
    assert_equal 1, 1
   end
   def testText
    assert_equal 'test', 'test', 'text is the same'
   end
  end

  if $0 == __FILE__ then
    require 'test/unit/ui/fox/testrunner'
    Test::Unit::UI::Fox::TestRunner.run(GuiDuckUT.suite)
  #  require 'test/unit/ui/console/testrunner'
  #  Test::Unit::UI::Console::TestRunner.run(GuiDuckUT.suite)
  end
 </file>

invoked with

 ruby GuiDuckUT.rb

This produces the GUI TestRunner, but when I hit the "run" button,
I am greeted with:

 /usr/local/pkgs/ruby-1.6.7/lib/ruby/site_ruby/1.6/test/unit/ui/fox/testrunner.rb:118:in `reset_ui': undefined local variable or method `runCountLabel' for #<Test::Unit::UI::Fox::TestRunner:0x40eb9b60> (NameError)
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/util/observable.rb:84:in `attach_to_mediator'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/fox/testrunner.rb:94:in `call'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/util/observable.rb:84:in `notify_listeners'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/util/observable.rb:82:in `each_value'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/util/observable.rb:82:in `notify_listeners'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/testrunnermediator.rb:45:in `run_suite'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/fox/testrunner.rb:66:in `on_run'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/fox/testrunner.rb:107:in `run'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/fox/testrunner.rb:107:in `start_ui'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/fox/testrunner.rb:61:in `start'
        from /usr/local/lib/ruby/site_ruby/1.6/test/unit/ui/fox/testrunner.rb:35:in `run'
        from GuiDuckUT.rb:16

I'll go read the docs now that I actually made it through
compile...

Thanks for the help,
-- 
Bil Kleb
NASA Langley Research Center
Hampton, Virginia, USA