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
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
when you built ruby it did not find the tk/tcl headers or libraries. you need
to tell the ./configure script where these are (and possibly the version) when
you compile ruby OR you can compile the extenstion afterwards by setting some
variables for the makefile.
see
ruby-1.8.1/ext/tcltklib/README.1st
for step by step instructions.
-a
···
On Sun, 28 Mar 2004 elango@swissinfo.org wrote:
Dreaming of a Swiss Account? Get it here: http://freemail.swissinfo.org
–
EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
URL :: Solar-Terrestrial Physics Data | NCEI
TRY :: for l in ruby perl;do $l -e “print "\x3a\x2d\x29\x0a"”;done
===============================================================================