M
Markus Liebelt
I have a problem in using the tkextlib extensions. I have found in the
current distribution for windows (ruby 1.8.2 (2004-12-25) [i386-mswin32])
the subdir ruby182\samples\tk\tkextlib\iwidgets\sample which contains a
lot of simple examples for using the extensions. When trying these
examples by
I get the following error:
D:\programme\ruby\ruby182\samples\tk\tkextlib\iwidgets\sample>ruby
combobox.rb
d:/programme/ruby/ruby182/lib/ruby/1.8/tk/package.rb:86:in `require':
TkPackage can't find package Itcl (RuntimeError)
from
d:/programme/ruby/ruby182/lib/ruby/1.8/tkextlib/itcl/incr_tcl.rb:12
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from d:/programme/ruby/ruby182/lib/ruby/1.8/tkextlib/itcl.rb:13
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from d:/programme/ruby/ruby182/lib/ruby/1.8/tkextlib/iwidgets.rb:7
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from combobox.rb:3
Does that mean that the installation is something missing, do I have to
install Itcl additionally (and how) ...
When checking the installation by using
ruby182\lib\ruby\1.8\tkextlib\pkg_checker.rb, I get a lot of error
messages:
Ready : itcl.rb : require->{}
*LACK : itcl/incr_tcl.rb : require->{} FAIL->[["Itcl", ackage]]
Ready : itcl/setup.rb : require->{}
*LACK : iwidgets.rb : require->{} FAIL->[["tkextlib/itcl",
:require_ruby_lib], ["tkextlib/itk", :require_ruby_lib], ["I
widgets", ackage]]
Ready : iwidgets/buttonbox.rb : require->{}
Ready : iwidgets/calendar.rb : require->{}
Ready : iwidgets/canvasprintbox.rb : require->{}
Ready : iwidgets/canvasprintdialog.rb : require->{}
[...]
Could someone enlight me what is going wrong? I would like to use the
additional widget combobox, and have found no way to do it.
Thank you for your patience with a starter in Tk on Ruby
Bye
current distribution for windows (ruby 1.8.2 (2004-12-25) [i386-mswin32])
the subdir ruby182\samples\tk\tkextlib\iwidgets\sample which contains a
lot of simple examples for using the extensions. When trying these
examples by
ruby combobox.rb
I get the following error:
D:\programme\ruby\ruby182\samples\tk\tkextlib\iwidgets\sample>ruby
combobox.rb
d:/programme/ruby/ruby182/lib/ruby/1.8/tk/package.rb:86:in `require':
TkPackage can't find package Itcl (RuntimeError)
from
d:/programme/ruby/ruby182/lib/ruby/1.8/tkextlib/itcl/incr_tcl.rb:12
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from d:/programme/ruby/ruby182/lib/ruby/1.8/tkextlib/itcl.rb:13
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from d:/programme/ruby/ruby182/lib/ruby/1.8/tkextlib/iwidgets.rb:7
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from
d:/programme/ruby/ruby182/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from combobox.rb:3
Does that mean that the installation is something missing, do I have to
install Itcl additionally (and how) ...
When checking the installation by using
ruby182\lib\ruby\1.8\tkextlib\pkg_checker.rb, I get a lot of error
messages:
Ready : itcl.rb : require->{}
*LACK : itcl/incr_tcl.rb : require->{} FAIL->[["Itcl", ackage]]
Ready : itcl/setup.rb : require->{}
*LACK : iwidgets.rb : require->{} FAIL->[["tkextlib/itcl",
:require_ruby_lib], ["tkextlib/itk", :require_ruby_lib], ["I
widgets", ackage]]
Ready : iwidgets/buttonbox.rb : require->{}
Ready : iwidgets/calendar.rb : require->{}
Ready : iwidgets/canvasprintbox.rb : require->{}
Ready : iwidgets/canvasprintdialog.rb : require->{}
[...]
Could someone enlight me what is going wrong? I would like to use the
additional widget combobox, and have found no way to do it.
Thank you for your patience with a starter in Tk on Ruby
Bye