[fxruby-users] Further to my fxruby install

dave L dglnz at yahoo.com
Tue Jan 27 04:59:36 EST 2009


to try and help things more i went to this area and ran install as a means of trying to get it to run correctly but no luck as you can see from the output below.


root at AMD3000:/opt/foxGUIb_1.0.0/libGUIb# ruby install.rb
parsearg_config
install.rb: entering config phase...
---> lib
<--- lib
install.rb: config done.
parsearg_setup
install.rb: entering setup phase...
---> lib
<--- lib
install.rb: setup done.
parsearg_install
parsearg_install!!! ARGV:
install.rb: entering install phase...
---> lib
mkdir -p /usr/local/lib/site_ruby/1.8/
install libGUIb14.rb /usr/local/lib/site_ruby/1.8/
install libGUIb16.rb /usr/local/lib/site_ruby/1.8/
<--- lib
install.rb: install done.
root at AMD3000:/opt/foxGUIb_1.0.0/libGUIb# cd ..
root at AMD3000:/opt/foxGUIb_1.0.0# cd foxGUIb/
root at AMD3000:/opt/foxGUIb_1.0.0/foxGUIb# foxGUIb.rb
/usr/bin/foxGUIb.rb: line 6: $:: command not found
root at AMD3000:/opt/foxGUIb_1.0.0/foxGUIb# ruby foxGUIb.rb
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:263: warning: method redefined; discarding old to_s
(eval):14: warning: `*' interpreted as argument prefix
(eval):14: warning: `*' interpreted as argument prefix
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:938: warning: method redefined; discarding old app
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:943: warning: method redefined; discarding old enabled=
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:946: warning: discarding old enabled
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:947: warning: method redefined; discarding old visible=
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:950: warning: discarding old visible?
(eval):14: warning: `*' interpreted as argument prefix
./src/gui/mainwin.rb:44: warning: method redefined; discarding old about
(eval):14: warning: `*' interpreted as argument prefix
(eval):14: warning: `*' interpreted as argument prefix
(eval):14: warning: `*' interpreted as argument prefix
(eval):14: warning: `*' interpreted as argument prefix
(eval):14: warning: `*' interpreted as argument prefix
(eval):14: warning: `*' interpreted as argument prefix
(eval):14: warning: `*' interpreted as argument prefix
No protocol specified
FXRbApp::openDisplay: unable to open display :0.0
root at AMD3000:/opt/foxGUIb_1.0.0/foxGUIb#    


from this i then copied *all* files to another directory where call /spare/foxGUIb.
Chown all files & directories to dave:dave (which is my username and my group name) and tried again.

this is the result of that!

dave at AMD3000:/spare/foxgui$ ruby foxGUIb.rb
foxGUIb.rb:7:in `require': no such file to load -- version (LoadError)
        from foxGUIb.rb:7
dave at AMD3000:/spare/foxgui$ 

So  i am missing something!!!
what is version on line 7 wanting?
this 1 screen of output for the foxGUIb.rb file.

# Copyright (c) 2004-2008 by Henon (meinrad dot recheis at gmail dot com)

# foxGUIb - main script
# when started with ruby's commandline option -d output goes to $stdout otherwise to log.txt

$:<<"src"<<"src/gui"<<"src/code-gen"
require "version" <<<<<<<<<<<<<<<<<<<<<< believe the error occurs!!!!

begin
  require FOXGUIB_LIBRARY
rescue LoadError
  puts $!
  puts
  puts "Possible causes of this error are:"
  puts "* libGUIb is not installed"
  puts "* fxruby is not installed"
  puts "* fxruby gem could not be loaded because you did not start ruby with -rubygems option"
  puts "* other unexpected error. please check the following backtrace to find the cause of the error."
  puts
  puts $!.backtrace
  exit
end

regards,

dave.



      Easy recipes for Christmas entertaining on Yahoo!Xtra Lifestyle- http://nz.lifestyle.yahoo.com/food-recipes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090127/8f7732d2/attachment.html>


More information about the fxruby-users mailing list