<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Think it's more about explaining that before you even go to install get fox from<br>if linux type OS<br> - your OS repositories <br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> - from this site<br><br>For MS windows<br> - download from this site<br><br>then instruct user to execute this file<br><br>Linux <from installation directory> ruby install.rb<br><br>from MS execute installation program after fox is installed onto the pc<br>Have the file in the root directory instead of libGUIb.<br><br>I know i went into foxGUIb 1st looking for an installion notes and or suitably named run script.<br><br>HTH<br><br>dave.<br><div style="font-family: times new roman,new york,times,serif; font-size:
12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Meinrad Recheis <meinrad.recheis@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> fxruby-users@rubyforge.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 28 January, 2009 12:39:28 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [fxruby-users] Further to my fxruby install<br></font><br>congratulations. <br>hmm, i see there are too many things that could possibly go wrong with an unexperienced user trying out foxguib. i will give it some thought and maybe change some things. if only i had some more time or some more clones of myself ... ^^<div>
-- henon<br><br><div class="gmail_quote">On Tue, Jan 27, 2009 at 12:13 PM, dave L <span dir="ltr"><<a rel="nofollow" ymailto="mailto:dglnz@yahoo.com" target="_blank" href="mailto:dglnz@yahoo.com">dglnz@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>okay now we're getting somewhere :)<br><br>I've found the file version.rb in this directory as scrapped from the terminal (showing other files also)<br>
<br>dave@AMD3000:/spare/downloads/foxGUIb_1.0.0/libGUIb$ ls /usr/local/lib/site_ruby/1.8/fox16/<br>aliases.rb exceptions_for_fxerror.rb keys.rb scintilla.rb<br>bitmapview.rb execute_nonmodal.rb kwargs.rb settings.rb<br>
calendar.rb glgroup.rb missingdep.rb
signal.rb<br>chore.rb glshapes.rb pseudokeyboard.rb splashscreen.rb<br>colors.rb input.rb pseudomouse.rb timeout.rb<br>core.rb irb.rb responder2.rb undolist.rb<br>
dict.rb iterators.rb responder.rb version.rb<br>dave@AMD3000:/spare/downloads/foxGUIb_1.0.0/libGUIb$ <br><br>Now i suspect that these files should be
together with foxGUIb in an area that doesn't require root access.<br>am i right?<br><br>How did this mess get like it? <yes i know i did it Dah!> :)<br><br>I mean i d/l the zip file, unzipped in a folder where i had access rights to as a default (namely<br>
/spare/downloads/FXRuby)<br>I had lots of issues and tried installing a number of times.<br>also d/l a gems version and loaded that.<br>it didn't seem to like that either and couldn't get it to work.<br><br>Now as an thought i did this and it works (scrapped from terminal)<br>
<br>dave@AMD3000:/spare/downloads/foxGUIb_1.0.0/foxGUIb$ ruby -S /scr foxGUIb.rb<br>ruby: No such file or directory -- /scr (LoadError)<br>dave@AMD3000:/spare/downloads/foxGUIb_1.0.0/foxGUIb$ ruby -S /src foxGUIb.rb<br>
ruby: No such file or directory -- /src (LoadError)<br>dave@AMD3000:/spare/downloads/foxGUIb_1.0.0/foxGUIb$ ruby foxGUIb.rb -S src/<div class="Ih2E3d"><br>/usr/local/lib/site_ruby/1.8/libGUIb16.rb:263:
warning: method redefined; discarding old to_s<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>/usr/local/lib/site_ruby/1.8/libGUIb16.rb:938: warning: method redefined; discarding old app<br>
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:943: warning: method redefined; discarding old enabled=<br>/usr/local/lib/site_ruby/1.8/libGUIb16.rb:946: warning: discarding old enabled<br>/usr/local/lib/site_ruby/1.8/libGUIb16.rb:947: warning: method redefined; discarding old visible=<br>
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:950: warning: discarding old visible?<br>(eval):14: warning: `*' interpreted as argument prefix<br>./src/gui/mainwin.rb:44: warning: method redefined; discarding old about<br>
(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*'
interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>
</div>./src/docman.rb:170: warning: instance variable @current not initialized<br>./src/docman.rb:173: warning: instance variable @current not initialized<br>/usr/local/lib/site_ruby/1.8/libGUIb16.rb:102: warning: global variable `$dummy_img' not initialized<br>
<br>I now get GUIb up and running Hurray!!!<br>pointer in how i get it up without the errors etc above?<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Meinrad Recheis <<a rel="nofollow" ymailto="mailto:meinrad.recheis@gmail.com" target="_blank" href="mailto:meinrad.recheis@gmail.com">meinrad.recheis@gmail.com</a>><br><b><span style="font-weight: bold;">To:</span></b>
<a rel="nofollow" ymailto="mailto:fxruby-users@rubyforge.org" target="_blank" href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 27 January, 2009 11:18:57 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [fxruby-users] Further to my fxruby install<br>
</font><div><div></div><div class="Wj3C7c"><br>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.<div>
hth,</div><div>-- henon<br><br><div class="gmail_quote">On Tue, Jan 27, 2009 at 10:59 AM, dave L <span dir="ltr"><<a rel="nofollow" ymailto="mailto:dglnz@yahoo.com" target="_blank" href="mailto:dglnz@yahoo.com">dglnz@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>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.<br>
<br><br>root@AMD3000:/opt/foxGUIb_1.0.0/libGUIb# ruby install.rb<br>parsearg_config<br>install.rb: entering config phase...<br>---> lib<br><--- lib<br>install.rb: config done.<br>parsearg_setup<br>install.rb: entering setup phase...<br>
---> lib<br><--- lib<br>install.rb: setup done.<br>parsearg_install<br>parsearg_install!!! ARGV:<br>install.rb: entering install phase...<br>---> lib<br>mkdir -p /usr/local/lib/site_ruby/1.8/<br>install libGUIb14.rb /usr/local/lib/site_ruby/1.8/<br>
install libGUIb16.rb /usr/local/lib/site_ruby/1.8/<br><--- lib<br>install.rb: install done.<br>root@AMD3000:/opt/foxGUIb_1.0.0/libGUIb#
cd ..<br>root@AMD3000:/opt/foxGUIb_1.0.0# cd foxGUIb/<br>root@AMD3000:/opt/foxGUIb_1.0.0/foxGUIb# foxGUIb.rb<br>/usr/bin/foxGUIb.rb: line 6: $:: command not found<br>root@AMD3000:/opt/foxGUIb_1.0.0/foxGUIb# ruby foxGUIb.rb<br>
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:263: warning: method redefined; discarding old to_s<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:938: warning: method redefined; discarding old app<br>/usr/local/lib/site_ruby/1.8/libGUIb16.rb:943: warning: method redefined; discarding old enabled=<br>/usr/local/lib/site_ruby/1.8/libGUIb16.rb:946: warning: discarding old enabled<br>
/usr/local/lib/site_ruby/1.8/libGUIb16.rb:947: warning: method redefined; discarding old visible=<br>/usr/local/lib/site_ruby/1.8/libGUIb16.rb:950: warning: discarding old visible?<br>(eval):14: warning: `*' interpreted as argument
prefix<br>./src/gui/mainwin.rb:44: warning: method redefined; discarding old about<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>
(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>(eval):14: warning: `*' interpreted as argument prefix<br>
No protocol specified<br>FXRbApp::openDisplay: unable to open display :0.0<br>root@AMD3000:/opt/foxGUIb_1.0.0/foxGUIb# <br><br><br>from this i then copied *all* files to another directory where call /spare/foxGUIb.<br>
Chown all files & directories to dave:dave (which is my username and my group name) and tried again.<br><br>this is the result of that!<br><br>dave@AMD3000:/spare/foxgui$ ruby foxGUIb.rb<br>foxGUIb.rb:7:in `require': no such file to
load -- version (LoadError)<br> from foxGUIb.rb:7<br>dave@AMD3000:/spare/foxgui$ <br><br>So i am missing something!!!<br>what is version on line 7 wanting?<br>this 1 screen of output for the foxGUIb.rb file.<br>
<br># Copyright (c) 2004-2008 by Henon (meinrad dot recheis at gmail dot com)<br><br># foxGUIb - main script<br># when started with ruby's commandline option -d output goes to $stdout otherwise to log.txt<br><br>$:<<"src"<<"src/gui"<<"src/code-gen"<br>
require "version" <<<<<<<<<<<<<<<<<<<<<< believe the error occurs!!!!<br><br>begin<br> require FOXGUIB_LIBRARY<br>rescue LoadError<br> puts $!<br>
puts<br> puts "Possible causes of this error are:"<br> puts "* libGUIb is not installed"<br> puts "* fxruby is not installed"<br> puts "* fxruby gem could not be loaded because you
did not start ruby with -rubygems option"<br> puts "* other unexpected error. please check the following backtrace to find the cause of the error."<br> puts<br> puts $!.backtrace<br> exit<br>end<br><br>
regards,<br><br>dave.<br></div></div><br>
Get the world's best email - <a rel="nofollow" target="_blank" href="http://nz.mail.yahoo.com/">Yahoo!Xtra Mail</a></div><br>_______________________________________________<br>
fxruby-users mailing list<br>
<a rel="nofollow" ymailto="mailto:fxruby-users@rubyforge.org" target="_blank" href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
<a rel="nofollow" target="_blank" href="http://rubyforge.org/mailman/listinfo/fxruby-users">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br></blockquote></div><br></div>
</div></div></div></div></div><div><div></div><div class="Wj3C7c"><br>
Get the world's best email - <a rel="nofollow" target="_blank" href="http://nz.mail.yahoo.com/">Yahoo!Xtra Mail</a></div></div></div><br>_______________________________________________<br>
fxruby-users mailing list<br>
<a rel="nofollow" ymailto="mailto:fxruby-users@rubyforge.org" target="_blank" href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
<a rel="nofollow" target="_blank" href="http://rubyforge.org/mailman/listinfo/fxruby-users">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br></blockquote></div><br></div>
</div></div></div><br>
Get the world's best email - <a href=http://nz.mail.yahoo.com/>Yahoo!Xtra Mail</a></body></html>