From: Masao M. <mu...@hi...> - 2002-08-20 15:29:54
|
Hi, On Tue, 20 Aug 2002 10:31:20 -0400 Aron Griffis <agr...@us...> wrote: > Masao Mutoh wrote: [Tue Aug 20 2002, 09:44:36AM EDT] > > If you can compile ruby-gtk-0.29, > > please replace (make|get)_gdkcolormap to (make|get)_gdkcmap in > > rbgdkwindow.c and re-compile it. > > Thank you! That did the trick. > > Here are a couple more problems. Possibly these are also fixed in cvs... > > (1) gnome_canvas_item_scale unresolved > > /usr/local/lib/ruby/site_ruby/1.6/gnome.rb:3:in `require': dlopen: /usr/local/lib/ruby/site_ruby/1.6/alpha-osf5.1/gnome.so: symbol "gnome_canvas_item_scale" unresolved - /usr/local/lib/ruby/site_ruby/1.6/alpha-osf5.1/gnome.so (LoadError) > from /usr/local/lib/ruby/site_ruby/1.6/gnome.rb:3 > from ./test.rb:1:in `require' > from ./test.rb:1 Hmm, At least, in my environment(Linux/gnome-libs-1.4.1.2) it works fine. gnome_canvas_item_scale() is gnome-libs's API, but error message says that it is not defined in your environment ... > (2) integer too big > > ./drawing.rb:34:in `window': integer 1073891760 too big to convert to `int' (RangeError) > from ./drawing.rb:34:in `configure_event' > from ./drawing.rb:7:in `initialize' > from ./drawing.rb:7:in `call' > from ./drawing.rb:82:in `add' > from ./drawing.rb:82 I can't help you only this information. Can you use gdb ? I want result of "bt" command. Or otherwise, can you replace "int" to "gint"? #But I don't know it helps you. > I suspect this is a 64-bit problem since I'm running on Tru64/Alpha. I think you are first ruby-gnome user of 64-bit OS:->. And I apologize that I can't try ruby-gnome in Tru64/Alpha .... I do not have any skills of 64-bit OS. If you can, please try CVS version and make patches for Tru64 users ;->. Cheers, -- .:% Masao Mutoh<mu...@hi...> |