[fxruby-users] Further to my fxruby install

Meinrad Recheis meinrad.recheis at gmail.com
Tue Jan 27 05:18:57 EST 2009


version.rb is located in the same directory as foxguib.rb !!!! so it would
normally find the file without a problem and load it. you are somehow
calling foxguib.rb from a different directory (maybe via a symlink ?) and
thus the file cannot be found. please make sure that you are located in the
same dir as foxguib.rb and version.rb in order to get around this.hth,
-- henon

On Tue, Jan 27, 2009 at 10:59 AM, dave L <dglnz at yahoo.com> wrote:

> 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.
>
> Get the world's best email - Yahoo!Xtra Mail <http://nz.mail.yahoo.com/>
>
> _______________________________________________
> fxruby-users mailing list
> fxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/fxruby-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090127/65b8368e/attachment-0001.html>


More information about the fxruby-users mailing list