From: Markus J. <mj...@we...> - 2002-09-15 08:20:09
|
Hello thanks, but there are still problems. now I can load it into irb but running the samples still leads to an error irb(main):001:0> require "glib2" true irb(main):002:0> require "gtk2" true irb(main):003:0> ruby -Isrc sample/*.rb sample/calendar.rb:1:in `require': src/gtk2.so: undefined symbol: id_relatives - src/gtk2.so (LoadError) from sample/calendar.rb:1 anything else that must be installed? markus On Sunday 15 September 2002 06:04, Masao Mutoh wrote: > Hi, > > Oops, I did not say a most important thing ... > > Did you install Ruby/GLib2? > Ruby/GTK requires Ruby/GLib2. > #Ruby/GLib2 is ruby-gnome2/gnome/glib/ in CVS. > > Cheers, > > On Sat, 14 Sep 2002 23:15:28 +0200 > > Markus Jais <mj...@we...> wrote: > > hello > > I just downloaded ruby-gnome from cvs and installed the gtk+ part > > > > I changed to the gtk directory and typed > > ruby extconf.rb > > make > > sudo make install > > > > and everything was fine > > > > but when I type > > ruby -Isrc sample/*.rb > > or run any of the examples programms or use irb and type require "gtk" > > I get this error: > > > > irb(main):001:0> require 'gtk2' > > LoadError: /usr/local/lib/ruby/1.6/i686-linux/gtk2.so: undefined symbol: > > id_relatives - /usr/local/lib/ruby/1.6/i686-linux/gtk2.so > > from (irb):1:in `require' > > from (irb):1 > > > > > > my system: > > Red Hat 7.3 > > ruby 1.6.7 (2002-03-01) [i686-linux] > > gtk2-devel-2.0.2-4 (rpm version) > > gtk2-2.0.2-4 (rpm version) > > > > the gtk2 rpms are those which come with the Red Hat 7.3 cd's > > > > any hints on what to do?? > > > > by the way: thanks for your work. I like gtk very much > > and together with Ruby this will be a powerful tool > > > > regards > > markus > > > > > > > > > > -- > > Markus Jais > > http://www.mjais.de > > in...@mj... > > The road goes ever on and on - Bilbo Baggins > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > ruby-gnome2-devel-en mailing list > > rub...@li... > > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en -- Markus Jais http://www.mjais.de in...@mj... The road goes ever on and on - Bilbo Baggins |