From: Logan Capaldo Date: 2006-03-27T05:16:19+09:00 Subject: Re: Do I need tkhtml.so? (was Re: Help with tkHTML (specifically, require 'tkextlib/tkHTML' fails to find package)) On Mar 26, 2006, at 3:05 PM, Randy Kramer wrote: > On Sunday 26 March 2006 02:35 pm, Randy Kramer wrote: >> On Saturday 25 March 2006 09:50 pm, Logan Capaldo wrote: >>> On Mar 25, 2006, at 5:01 PM, Randy Kramer wrote: >>>> still the same problem with the require 'tkextlib/tkHTML': >>>> >>>> RuntimeError: TkPackage can't find package Tkhtml >>>> from /usr/local/lib/ruby/1.8/tk/package.rb:86:in `require' >>>> from /usr/local/lib/ruby/1.8/tkextlib/tkHTML/ >>>> htmlwidget.rb:15 >>>> from /usr/local/lib/ruby/1.8/tkextlib/tkHTML.rb:13 >>>> from (irb):2 >>>> >>>> Do you have tkHTML setup? Do you recall how you did it? >>> >>> Can't say that I do, I just have slightly more experience with >>> setting things up with setup.rb apparently ;) >>> >>> It looks like the ruby files are there, but the Tcl/Tk files are >>> missing (or unable to be found). >> >> Thanks! I'll have to think about the idea/possibility that the >> Tcl/Tk >> files are missing--I'm pretty sure tcl is installed: >> >> [root@s14 python]# rpm -q tcl >> tcl-8.4.11-1mdk >> [root@s14 doc]# rpm -V tcl-8.4.11-1mdk >> [root@s14 doc]# > > PS: Another thing reinforcing my belief that the tk files are there > is that a > few days ago I ran a sample program that used tk--the program > created a > stopwatch with a display in a tk "window". > >> One reason for writing at the moment is that I noticed that a >> tkhtml.so >> file comes with (or can come with) the tkhtml package(s), and I >> haven't >> installed that anywhere. Should I? Where? (Maybe those are the >> Tcl/Tk >> files that are missing??) >> >> Randy Kramer > I was thinking more along the lines of TkHTML specifically, not any and all Tcl/Tk files. I would suggest that installing the tkhtml.so file in its proper place should do the trick. Try and find a README or INSTALL file in the source distribution.