I’ve had the same issue also.
I googled a bit and eventually found an email which had solved it by
installing the correct tcl and tk lib.s, which I then preceded to do.
I still have no joy with this option at home on Linux. It isn’t an issue on
Windows.
Nick
···
-----Original Message-----
From: elango@swissinfo.org [mailto:elango@swissinfo.org]
Sent: Sunday, 28 March 2004 2:05 AM
To: ruby-talk@ruby-lang.org
Subject: problem in making tk work with ruby 1.8.1
i installed ruby-1.8.1 on edura and ruby works
individually tclsh and wish is also working
but when tried to use tk in ruby got the response as given below
[root@localhost ruby-1.8.1]# ruby
require ‘tk’
/usr/local/lib/ruby/1.8/tk.rb:7:in require': No such file to load -- tcltklib (LoadError) from /usr/local/lib/ruby/1.8/tk.rb:7 from -:1:in
require’
from -:1
can any one knowledgeable help me
thank you
elangovan nambi
Dreaming of a Swiss Account? Get it here: http://freemail.swissinfo.org