From: Paul Lutus Date: 2006-10-27T02:30:12+09:00 Subject: Re: ubuntu tcltklib absolute beginner question gigaday@googlemail.com wrote: > I'm trying to start from absolute basics. I have ruby 1.8 installed > and working and want to have a look at the Tk interface. > > I get the following:- > > irb(main):001:0> require 'tk' > RuntimeError: tcltklib: fail to Tk_Init(). this isn't a Tk > applicationunknown color name "Black" > from /usr/lib/ruby/1.8/tk.rb:1102:in `initialize' > from /usr/lib/ruby/1.8/tk.rb:1102 > from (irb):1 > irb(main):002:0> > > Any ideas please? Your system doesn't have the Ruby Tk library installed. Have you considered upgrading to the current Ruby version? This might solve the problem. Or you could try to find and install the tk library. FWIW, the missing library is named "ruby-tcltk -(version)". -- Paul Lutus http://www.arachnoid.com