[fxruby-users] foxGUIb on FC6 x86_64 won't run

Alan Lake alan.lake at lakeinfoworks.com
Wed Feb 21 18:10:43 EST 2007


I began adding comments with my problem to Ernie Ellingson's post, 
Problem using foxGUIb, because my problem is very similar to his.  The 
difference is that I'm running Fedora Core 6 (x86_64) and he's running 
Ubuntu.  However, I'm totally confused because of the mix up that I 
caused.  I'd like to start this new thread to separate our posts. 

I hope that this statement of how I installed the separate packages may 
yield a clue of why I can't run the fox GUI:

fox-1.6.21 -- This installed correctly
  make clean
  export LDFLAGS="-L/usr/lib64 -L/usr/X11R6/lib64 -L/lib64"
  ./configure --enable-release
  make
  make install
  make docs

fxruby-1.6.6.gem
  foxGUIb-0.7.1
    ruby install.rb -- This installed correctly
  I copied the foxGUIb directory to ~/Software/

In .bash_profile, I have
  export RUBYOPT="w"
  I have tried to add "rubygems" to the above statement, but I can't 
guess the correct syntax.
 
First test: (I'm repeating the tests as I write this)
  cd ~/Software/foxGUIb;ruby foxGUIb.rb

  This yielded:
    /usr/lib/ruby/site_ruby/1.8/libGUIb16.rb:833: warning: `*' 
interpreted as argument prefix
    please install libGUIb!!
    no such file to load -- fox16

Second test:
  I modified ~/Software/foxGUIb/foxGUIb.rb to include
    require "rubygems"
    but this made no difference

Third test:
  It seems that the line "please install libGUIb!!" is generated by the 
following code in foxGUIb.rb:
    begin
      require FOXGUIB_LIBRARY
    rescue LoadError
      puts "please install libGUIb!!"
      puts $!
      exit
    end
  I added the following line at the beginning of this program:
    puts "FOXGUIB_LIBRARY = #{FOXGUIB_LIBRARY}"
  My test gave:
    FOXGUIB_LIBRARY = libGUIb16
    prior to the messages above

I have these files:
/usr/lib/ruby/site_ruby/1.8/libGUIb16.rb
/usr/lib64/ruby/gems/1.8/gems/fxruby-1.6.6/lib/fox16
/usr/lib64/ruby/gems/1.8/gems/fxruby-1.6.6/ext/fox16

I created symbolic links to the lib64 directories from /usr/lib/ruby..., 
but that didn't help, so I removed the links.

Can you suggest what I might try next?


More information about the fxruby-users mailing list