From: Hidetoshi NAGAI Date: 2006-06-22T18:07:14+09:00 Subject: Re: Tktable From: "name pipe" Subject: Tktable Date: Thu, 22 Jun 2006 14:06:26 +0900 Message-ID: > I am trying to run graphics file. But its giving error like ""TkPackage > can't fid package TkTable (RuntimeError). " > > All libraries are present in C:\programfiles\ruby\lib\ruby\1.8\tkextlib\ > still i m getting this error. I also installed TCL package from activestate > site which contains TkTable in it. I am not getting watz the problem. Probably, your Ruby/Tk doesn't use the libraries of ActiveTcl package for some reason. Please check the value of Tk::TK_PATCHLEVEL and Tk::TCL_LIBRARY. If your ruby has the constant TclTkLib:COMPILE_INFO, you can get the information about tcltklib.so such like as the following. ---------------------------------------------------------------------- "tcltklib 2006-04-25 :: Ruby1.8.4 (2006-06-11) with pthread :: Tcl8.4.4(with stub)/Tk8.4.4(with stub) unknown tcl_threads" ---------------------------------------------------------------------- When without stub, tcltklib.so can link the libraries which have same major and minor version as the libraries used to compile. For example, when your tcltklib.so was compiled with Tcl/Tk8.3.x (without stubs), you cannot use ActiveTcl8.4.x with it. Then, you have to re-compile tcltklib.so with the libraries of ActiveTcl8.4.x, or install ActiveTcl8.3.x. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)