Hi, all! I''ve succesfully installed FXRuby on my desktop, just following the instructions in Lyle''s "FXRuby - create lean and mean GUIs with Ruby", and it''s really wonderful. Now that I''ve bought a notebook (nearly the same config as my desktop: both are Intel Pentium Core 2 Duo running Ubuntu 8.04), I''m trying to get FXRuby installed on it, too, but I just can''t achieve this and can''t realize why. Here are some excerpts of the installation process: ----------- Instalando libfox-1.6-0 (1.6.25-1) ... Instalando libfox-1.6-dev (1.6.25-1) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place angico at pirilampo:~/testes/ruby/operabd$ ruby operabd.rb /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'': no such file to load -- fox16 (LoadError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require'' from operabd.rb:8 angico at pirilampo:~/testes/ruby/operabd$ sudo gem list --local *** LOCAL GEMS *** fxruby (1.6.16, 1.6.15) FXRuby is the Ruby binding to the FOX GUI toolkit. mysql (2.7.3) A win32-native build of the MySQL API module for Ruby. ri18n (0.0.3) Ruby application internationalization and localization library sources (0.0.1) This package provides download sources for remote gem installation ----------------------- Can anybody point me out what''s going wrong? How can I put it to work? Many thanks, -- angico ------ home page: www.angico.org Gnu/Linux, FLOSS, Espiritismo, e eu por mim mesmo 8^I ------ contatos: email: angico at angico.org skype: angico00 ------ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080730/1328b0ab/attachment.html>
angico wrote:> Hi, all! > > I''ve succesfully installed FXRuby on my desktop, just following the > instructions in Lyle''s "FXRuby - create lean and mean GUIs with Ruby", > and it''s really wonderful. > > Now that I''ve bought a notebook (nearly the same config as my desktop: > both are Intel Pentium Core 2 Duo running Ubuntu 8.04), I''m trying to > get FXRuby installed on it, too, but I just can''t achieve this and > can''t realize why. > > Here are some excerpts of the installation process: > > ----------- > > Instalando libfox-1.6-0 (1.6.25-1) ... > > Instalando libfox-1.6-dev (1.6.25-1) ... > > Processing triggers for libc6 ... > ldconfig deferred processing now taking place > angico at pirilampo:~/testes/ruby/operabd$ ruby operabd.rb > /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in > `gem_original_require'': no such file to load -- fox16 (LoadError) > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require'' > from operabd.rb:8 > angico at pirilampo:~/testes/ruby/operabd$ sudo gem list --local > > *** LOCAL GEMS *** > > fxruby (1.6.16, 1.6.15) > FXRuby is the Ruby binding to the FOX GUI toolkit. > > mysql (2.7.3) > A win32-native build of the MySQL API module for Ruby. > > ri18n (0.0.3) > Ruby application internationalization and localization library > > sources (0.0.1) > This package provides download sources for remote gem installation > > ----------------------- > > Can anybody point me out what''s going wrong? How can I put it to work? > > Many thanks,I had a similar problem some time back. Lyle explained that it was caused by a bug in an early version of gems. Once the fox16 object file had been built it was immediately deleted as part of the cleanup process. The problem went away when I installed a later version of rubygems, > 1.0 I think. Your problem may be unrelated though. I also had to endure that the version numbers of the FOX library and fxruby matched, i.e. FOX16 and fxruby1.6. Len
Em Qui, 2008-07-31 ?s 09:06 +0100, Len Lawrence escreveu:> I had a similar problem some time back. Lyle explained that it was > caused by a bug in an early version of gems. Once the fox16 object file > had been built it was immediately deleted as part of the cleanup > process. The problem went away when I installed a later version of > rubygems, > 1.0 I think. Your problem may be unrelated though. I also > had to endure that the version numbers of the FOX library and fxruby > matched, i.e. FOX16 and fxruby1.6. > > Len >Hi, Len. Thank you for the hint, but I think that''s not the way to go, since I''m using just the same versions of the packages both in my desktop system and in my notebook: $ gem --version 0.9.4 -- angico ------ home page: www.angico.org Gnu/Linux, FLOSS, Espiritismo, e eu por mim mesmo 8^I ------ contatos: email: angico at angico.org skype: angico00 ------
Em Qui, 2008-07-31 ?s 06:27 -0300, angico escreveu:> Em Qui, 2008-07-31 ?s 09:06 +0100, Len Lawrence escreveu: > > I had a similar problem some time back. Lyle explained that it was > > caused by a bug in an early version of gems. Once the fox16 object file > > had been built it was immediately deleted as part of the cleanup > > process. The problem went away when I installed a later version of > > rubygems, > 1.0 I think. Your problem may be unrelated though. I also > > had to endure that the version numbers of the FOX library and fxruby > > matched, i.e. FOX16 and fxruby1.6. > > > > Len > > > Hi, Len. > > Thank you for the hint, but I think that''s not the way to go, since I''m > using just the same versions of the packages both in my desktop system > and in my notebook: > > $ gem --version > 0.9.4Hi! I guess I found the problem. It was a matter of conflicting versions of installed gems. As I initially stated I had fxruby-1.6.16-universal-darwin-9 and fxruby-1.6.15-universal-darwin-9 installed on the laptop. So I just removed both, and ran sudo gem install fxruby again, this time selecting ''fxruby 1.6.16 (ruby)'' from the installation options, and now it works just fine. -- angico ------ home page: www.angico.org Gnu/Linux, FLOSS, Espiritismo, e eu por mim mesmo 8^I ------ contatos: email: angico at angico.org skype: angico00 ------
On Jul 31, 2008, at 4:52 AM, angico wrote:> I guess I found the problem. It was a matter of conflicting versions > of > installed gems. As I initially stated I had > fxruby-1.6.16-universal-darwin-9 and fxruby-1.6.15-universal-darwin-9 > installed on the laptop...Those gems are for OS X, not Ubuntu. They definitely shouldn''t work on your Linux notebook!> So I just removed both, and ran sudo gem > install fxruby again, this time selecting ''fxruby 1.6.16 (ruby)'' from > the installation options, and now it works just fine.Great!
Em Qui, 2008-07-31 ?s 08:27 -0500, Lyle Johnson escreveu:> On Jul 31, 2008, at 4:52 AM, angico wrote: > > > I guess I found the problem. It was a matter of conflicting versions > > of > > installed gems. As I initially stated I had > > fxruby-1.6.16-universal-darwin-9 and fxruby-1.6.15-universal-darwin-9 > > installed on the laptop... > > Those gems are for OS X, not Ubuntu. They definitely shouldn''t work on > your Linux notebook! > > > So I just removed both, and ran sudo gem > > install fxruby again, this time selecting ''fxruby 1.6.16 (ruby)'' from > > the installation options, and now it works just fine. > > Great! > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-usersThanks, Lyle. Anyway, I think it''s a little hard for newbies like me to find out what those options really mean, since they don''t say much about it. For instance: $ sudo gem install mysql Need to update 1 gems from http://gems.rubyforge.org . complete Select which gem to install for your platform (x86_64-linux) 1. mysql 2.7.3 (mswin32) 2. mysql 2.7.1 (mswin32) 3. mysql 2.7 (ruby) 4. mysql 2.6 (ruby) 5. Skip this gem 6. Cancel installation>Which option should I choose? I bet it''s 3, but it''s really not clear at all. Regards, -- angico ------ home page: www.angico.org Gnu/Linux, FLOSS, Espiritismo, e eu por mim mesmo 8^I ------ contatos: email: angico at angico.org skype: angico00 ------
angico wrote:> Thanks, Lyle. Anyway, I think it''s a little hard for newbies like me to > find out what those options really mean, since they don''t say much about > it. For instance: > > $ sudo gem install mysql > Need to update 1 gems from http://gems.rubyforge.org > . > complete > Select which gem to install for your platform (x86_64-linux) > 1. mysql 2.7.3 (mswin32) > 2. mysql 2.7.1 (mswin32) > 3. mysql 2.7 (ruby) > 4. mysql 2.6 (ruby) > 5. Skip this gem > 6. Cancel installation >> >Yeah, it''s 3. What I would actually recommend you do is upgrade ruby gems (external to the ubuntu package if nessessary) to version 1.2, which takes care of these questions automatically (amongst some other improvements)> Which option should I choose? I bet it''s 3, but it''s really not clear at > all. > > Regards, > > -- > angico