Closed GoogleCodeExporter closed 8 years ago
Luckily I can not reproduce this. Somebody else would have reported this I
expect if
such a grave error existed. Are you sure you've installed gtk2 correctly,
includings
it's dependencies?
It's basically complaining that Gtk::LinkButton is not defined. Well, it should
exist:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ALinkButton
Please report if you found the cause of the problem. Anyone else having similar
problems?
Original comment by rubyripp...@gmail.com
on 4 Sep 2008 at 9:21
I installed the ruby-gnome2 package in Debian, and recompiled. And I still get
the
same error. Any other suggestions?
Original comment by goweropo...@gmail.com
on 5 Sep 2008 at 4:46
I have searched google and found no similar problems. But perhaps you can show
me
what happens if you open up a console and type:
1 -> irb
2 -> require 'gtk2'
3 -> button = Gtk::LinkButton.new('Hello World')
Original comment by rubyripp...@gmail.com
on 6 Sep 2008 at 3:14
irb(main):001:0> require 'gtk2'
=> true
irb(main):002:0> button = Gtk::LinkButton.new('Hello World')
NameError: uninitialized constant Gtk::LinkButton
from (irb):2
irb(main):003:0>
Original comment by goweropo...@gmail.com
on 6 Sep 2008 at 5:35
Well, it should say:
irb(main):001:0> require 'gtk2'
=> true
irb(main):002:0> button = Gtk::LinkButton.new('Hello World')
=> #<Gtk::LinkButton:0x7fbb4e456710 ptr=0x101d010>
irb(main):003:0>
I'm using ruby-gtk2-0.16. Perhaps you're using an outdated version?
Original comment by rubyripp...@gmail.com
on 6 Sep 2008 at 9:14
That appears to be the problem. Since I'm using Debian Etch (currently
stable), the
version available of libgtk2-ruby is 0.15.0-1.1etch1.
The version in Lenny (which will become the official stable in the next few
months or
so) is 0.17.0~rc1-4. I have a chroot of Lenny, and when I run rubyripper on
it, it
does not crash at all.
Thanks for your help in solving the problem.
Original comment by goweropo...@gmail.com
on 7 Sep 2008 at 6:53
Original comment by rubyripp...@gmail.com
on 7 Sep 2008 at 9:32
Original issue reported on code.google.com by
goweropo...@gmail.com
on 4 Sep 2008 at 6:07