From: Josef Wolf Date: 2006-09-07T01:40:35+09:00 Subject: Re: TkDialogBox missing? On Wed, Sep 06, 2006 at 11:21:48AM +0900, Hidetoshi NAGAI wrote: > From: Josef Wolf > > I have not checked yet whether I can use them. But their bindings seem > > to be part of the ruby/tk package: > > > > $ rpm -qf /usr/lib/ruby/1.8/tkextlib/iwidgets.rb > > ruby-tk-1.8.2-11 > > $ cat /etc/SuSE-release > > SUSE LINUX 10.0 (i586) > > VERSION = 10.0 > > $ > > It doesn't verify whether your Ruby/Tk can load Iwidgets extension or not. > Please exec "ruby /usr/lib/ruby/1.8/tkextlib/pkc_checker.rb". > If it denotes lack of libraries, you cannot use the extension. > For example, the following shows that Iwidgets is NOT available. > ------------------------------------------------------- > : > : > Ready : itcl.rb : require->{} > *LACK : itcl/incr_tcl.rb : require->{} FAIL->[["Itcl", :package]] > Ready : itcl/setup.rb : require->{} > > Ready : itk.rb : require->{} > *LACK : itk/incr_tk.rb : require->{} FAIL->[["Itk", :package]] > Ready : itk/setup.rb : require->{} > > *LACK : iwidgets.rb : require->{} FAIL->[["tkextlib/itcl", :require_ruby_lib], > ["tkextlib/itk", :require_ruby_lib], ["Iwidgets", :package]] > Ready : iwidgets/canvasprintbox.rb : require->{} > Ready : iwidgets/buttonbox.rb : require->{} > : > : > ------------------------------------------------------- $ ruby /usr/lib/ruby/1.8/tkextlib/pkg_checker.rb [ ... ] Ready : itcl.rb : require->{} Ready : itcl/incr_tcl.rb : require->{"Itcl"=>"3.3"} Ready : itcl/setup.rb : require->{} [ ... ] Ready : itk.rb : require->{} Ready : itk/incr_tk.rb : require->{"Itk"=>"3.3"} Ready : itk/setup.rb : require->{} Ready : iwidgets.rb : require->{"Iwidgets"=>"4.0.1"} Ready : iwidgets/canvasprintbox.rb : require->{} Ready : iwidgets/buttonbox.rb : require->{} [ ... ] Ready : iwidgets/timefield.rb : require->{} Ready : iwidgets/toolbar.rb : require->{} Ready : iwidgets/watch.rb : require->{} Looks like they are ready to be used?