Dear All, my name is Raoul, this is the first time I post here. I''m a computer scientis and I''m working in bioinformatic''s filed, we have a lot of tools to analyse the data but no good graphic applications to visualize them. So I''m looking for a good framework for my job. I think your motivations on using wxruby are good, most important for me is the crossplatform feature. I have to provide a good service for avery platform. I''m interested on BioSQL too and probably in these days I''ll star to code some bioruby code to extend that library. I hope wxruby2 will become stable as soon as possible. I have installed wxruby2 by gems. then running the minimal application I got this: ruby -rubygems /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux /samples/minimal/minimal.rb Unable to load wxruby. Searched: /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux/bin /usr/lib/ruby/gems/1.8/gems/wxruby2- preview-0.0.36-i486-linux/lib /usr/lib/ruby/site_ruby/1.8 /usr/lib/ruby/site_ruby/1.8/i586-linux-gnu /usr/lib/ruby/site_ruby /usr/lib/ruby/1.8 /usr/lib/ruby/1.8/i586-linux-gnu I''m quite sure the error is stupid but I can''t see it... Tnx a lot. RJP _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Alex Fenton
2006-Dec-07 11:23 UTC
[Wxruby-users] Introduce and noob problem require ''wx''
Hi Raoul> I have installed wxruby2 by gems. then running the minimal application > I got this: > > ruby -rubygems > /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux/samples/minimal/minimal.rb > Unable to load wxruby. Searched: > /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux/bin > /usr/lib/ruby/gems/1.8/gems/wxruby2- preview-0.0.36-i486-linux/lib<snip> It looks like ruby is running into a problem when it tries to load the compiled library file which contains the bulk of wxruby2 functionality. Can you first verify this file exists? - according to the output you have shown I think it should be at: /usr/lib/ruby/gems/1.8/gems/wxruby2- preview-0.0.36-i486-linux/lib/wxruby2.so If this file does exist, could you try seeing if it will load on its own: ruby -rubygems -e "require ''wxruby2''" And report any error messages. Could you also let us know what distro you''re using, and what GTK2 libraries you have installed on your system, with versions (eg libgtk2.0, libgtk2.0-dev) thanks alex
Raoul Jean Pierre Bonnal
2006-Dec-07 13:24 UTC
[Wxruby-users] Introduce and noob problem require ''wx''
Hi Alex, On 12/7/06, Alex Fenton <alex at pressure.to> wrote:> > Can you first verify this file exists?exists ll /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux/lib/ totale 10472 drwxr-xr-x 2 root root 4096 dic 7 09:52 wx/ -rw-r--r-- 1 root root 775 dic 7 09:52 wx.rb -rw-r--r-- 1 root root 10696656 dic 7 09:52 wxruby2.so If this file does exist, could you try seeing if it will load on its own:> ruby -rubygems -e "require ''wxruby2''"/usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux/lib/wxruby2.so: libtiff.so.4: cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux/lib/wxruby2.so (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'' from -e:1 So looking for libtiff library I found installed on my system these: /usr/lib/libtiff.so.3 /usr/lib/libtiff.so /usr/lib/libtiff.so.3.8.2 And report any error messages. Could you also let us know what distro>you''re using, Mandriva Linux release 2007.0 (Official) for i586 and what GTK2 libraries you have installed on your system,> with versions (eg libgtk2.0, libgtk2.0-dev)for x in `urpmq -Y -r libgtk`; do echo `rpmquery $x`; done | grep -v "is not installed" libGtkScintilla0-0.8.2-5mdv2007.0 libGtkScintilla0-devel-0.8.2-5mdv2007.0 libgtk+-x11-2.0_0-2.10.3-4mdv2007.0 libgtk+1.2-1.2.10-45mdv2007.0 libgtk+2.0_0-2.10.3-4mdv2007.0 libgtk+2.0_0-devel-2.10.3-4mdv2007.0 libgtk-linux-fb-2.0_0-2.4.14-6mdk libgtkglarea2.0-1.99.0-9mdv2007.0 libgtkglarea5-1.2.3-9mdv2007.0 libgtkhtml-3.8_15-3.12.0-1mdv2007.0 libgtkhtml2_0-2.11.0-2mdv2007.0 libgtkmm2.0_1-2.2.12-3mdv2007.0 libgtkmm2.0_1-devel-2.2.12-3mdv2007.0 libgtkmm2.4_1-2.10.1-1mdv2007.0 libgtksourceview-1.0_0-1.8.0-1mdv2007.0 libgtkspell0-2.0.11-1mdk libgtkspell0-devel-2.0.11-1mdk libgtkxmhtml1-1.4.2-18mdv2007.0 Actually I think my problem is due to tiff library, desn''t it ? Best Regards RJP -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20061207/0ba36209/attachment.html
Alex Fenton
2006-Dec-07 21:31 UTC
[Wxruby-users] Introduce and noob problem require ''wx''
Raoul Jean Pierre Bonnal wrote:> > > ruby -rubygems -e "require ''wxruby2''" > > > /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux/lib/wxruby2.so: > libtiff.so.4: cannot open shared object file: No such file or > directory - /usr/lib/ruby/gems/1.8/gems/wxruby2- > preview-0.0.36-i486-linux/lib/wxruby2.so (LoadError) > from > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'' > from -e:1 > So looking for libtiff library I found installed on my system these: > /usr/lib/libtiff.so.3 > /usr/lib/libtiff.so > /usr/lib/libtiff.so.3.8.2Yes, this sounds like the problem, but I am not quite sure why. The ''official'' builds are supposed to use wxwidget''s built-in versions of libtiff, libpng, libjpeg. I wonder if there is a problem b/c you *do* have your own version of libtiff installed, but it isn''t compatible for some reason. Sorry I can''t check this as away from home so don''t have a linux machine. Anyway, we are looking to do a release shortly; if it''s OK, I will contact you off list about trying a pre-release compiled linux version. Thanks again for the report alex
Raoul Jean Pierre Bonnal
2006-Dec-11 13:44 UTC
[Wxruby-users] Introduce and noob problem require ''wx''
On 12/7/06, Alex Fenton <alex at pressure.to> wrote:> > Raoul Jean Pierre Bonnal wrote: > Anyway, we are looking to do a release shortly; if it''s OK, I will > contact you off list about trying a pre-release compiled linux version.That''s fine for me. Bye -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20061211/cd7d127f/attachment.html