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">&lt;<a href="mailto:dglnz@yahoo.com">dglnz@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>okay now we&#39;re getting somewhere :)<br><br>I&#39;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&nbsp;&nbsp;&nbsp;&nbsp; exceptions_for_fxerror.rb&nbsp; keys.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scintilla.rb<br>bitmapview.rb&nbsp; execute_nonmodal.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kwargs.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; settings.rb<br>
calendar.rb&nbsp;&nbsp;&nbsp; glgroup.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; missingdep.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 signal.rb<br>chore.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; glshapes.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pseudokeyboard.rb&nbsp; splashscreen.rb<br>colors.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; input.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pseudomouse.rb&nbsp;&nbsp;&nbsp;&nbsp; timeout.rb<br>core.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; irb.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; responder2.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; undolist.rb<br>
dict.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iterators.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; responder.rb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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&#39;t require root access.<br>am i right?<br><br>How did this mess get like it? &lt;yes i know i did it Dah!&gt;&nbsp; :)<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&#39;t seem to like that either and couldn&#39;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&nbsp; foxGUIb.rb<br>ruby: No such file or directory -- /scr (LoadError)<br>dave@AMD3000:/spare/downloads/foxGUIb_1.0.0/foxGUIb$ ruby -S /src&nbsp; 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: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; 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: `*&#39; interpreted as argument prefix<br>./src/gui/mainwin.rb:44: warning: method redefined; discarding old about<br>
(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39;
 interpreted as argument prefix<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; 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&#39; 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 &lt;<a href="mailto:meinrad.recheis@gmail.com" target="_blank">meinrad.recheis@gmail.com</a>&gt;<br><b><span style="font-weight:bold">To:</span></b>
 <a href="mailto:fxruby-users@rubyforge.org" target="_blank">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">&lt;<a rel="nofollow" href="mailto:dglnz@yahoo.com" target="_blank">dglnz@yahoo.com</a>&gt;</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>---&gt; lib<br>&lt;--- lib<br>install.rb: config done.<br>parsearg_setup<br>install.rb: entering setup phase...<br>

---&gt; lib<br>&lt;--- lib<br>install.rb: setup done.<br>parsearg_install<br>parsearg_install!!! ARGV:<br>install.rb: entering install phase...<br>---&gt; 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>&lt;--- 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: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; 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: `*&#39; interpreted as argument
 prefix<br>./src/gui/mainwin.rb:44: warning: method redefined; discarding old about<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>

(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; interpreted as argument prefix<br>(eval):14: warning: `*&#39; 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#&nbsp;&nbsp;&nbsp; <br><br><br>from this i then copied *all* files to another directory where call /spare/foxGUIb.<br>

Chown all files &amp; 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&#39;: no such file to
 load -- version (LoadError)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from foxGUIb.rb:7<br>dave@AMD3000:/spare/foxgui$ <br><br>So&nbsp; 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&#39;s commandline option -d output goes to $stdout otherwise to log.txt<br><br>$:&lt;&lt;&quot;src&quot;&lt;&lt;&quot;src/gui&quot;&lt;&lt;&quot;src/code-gen&quot;<br>

require &quot;version&quot; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; believe the error occurs!!!!<br><br>begin<br>&nbsp; require FOXGUIB_LIBRARY<br>rescue LoadError<br>&nbsp; puts $!<br>

&nbsp; puts<br>&nbsp; puts &quot;Possible causes of this error are:&quot;<br>&nbsp; puts &quot;* libGUIb is not installed&quot;<br>&nbsp; puts &quot;* fxruby is not installed&quot;<br>&nbsp; puts &quot;* fxruby gem could not be loaded because you
 did not start ruby with -rubygems option&quot;<br>&nbsp; puts &quot;* other unexpected error. please check the following backtrace to find the cause of the error.&quot;<br>&nbsp; puts<br>&nbsp; puts $!.backtrace<br>&nbsp; exit<br>end<br><br>

regards,<br><br>dave.<br></div></div><br>


      Get the world&#39;s best email - <a rel="nofollow" href="http://nz.mail.yahoo.com/" target="_blank">Yahoo!Xtra Mail</a></div><br>_______________________________________________<br>
fxruby-users mailing list<br>
<a rel="nofollow" href="mailto:fxruby-users@rubyforge.org" target="_blank">fxruby-users@rubyforge.org</a><br>
<a rel="nofollow" href="http://rubyforge.org/mailman/listinfo/fxruby-users" target="_blank">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&#39;s best email - <a href="http://nz.mail.yahoo.com/" target="_blank">Yahoo!Xtra Mail</a></div></div></div><br>_______________________________________________<br>
fxruby-users mailing list<br>
<a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/fxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br></blockquote></div><br></div>