From: Randy Kramer <rhkramer / gmail.com> Subject: Re: Help with tkHTML (specifically, require 'tkextlib/tkHTML' fails to find package) Date: Tue, 28 Mar 2006 00:38:39 +0900 Message-ID: <200603271037.56960.rhkramer / gmail.com> > Thanks very much for your help so far! As you can see (from the comments > interspersed with yours, below) I'm probably out of my depth here, and I > don't want to waste a lot of your time. Maybe I should delete (uninstall) > Ruby, ActiveTCL, and the ktHTML packages and reinstall? Maybe you need recompile and install tcltklib.so to use ActiveTcl libraries by default. If you want to recompile it, prease read README.* files in "<ruby source>/ext/tk" directory. Or, compile and install Tkhtml extension for your starndard (not ActiveTcl) Tcl/Tk. > My question is, is that the latest version, or is the version in ActiveTCL > more up-to-date? I think the latest version of Tkhtml is 2.0. > * I installed ActiveTcl 8.5, so I believe the path I should use > is /usr/local/ActiveTcl/lib/tcl8.5. It exists, and contains some .tcl files > (e.g., auto.tcl) and subdirectories (e.g., opt0.4). > > * Now I run > [rhk@s14 tkHTML]$ > TCL_LIBRARY=/usr/local/ActiveTcl/lib/tcl8.5 /usr/local/bin/ruby -r tk -e 'p > Tk::TCL_LIBRARY' > > and get: "/usr/lib/tcl8.4" which looks the same as before. Is that what I > should get? You may need to give the library path. For example, LD_LIBRARY_PATH=/usr/local/ActiveTcl/lib:$LD_LIBRARY_PATH TCL_LIBRARY=/usr/local/ActiveTcl/lib/tcl8.5 /usr/local/bin/ruby -r tk -e 'p Tk::TCL_LIBRARY' Or, your tcltklib.so may be disabled stubs and be compiled for Tcl/Tk8.4. Then, tcltklib.so cannot link the libraries of Tcl/Tk8.5. -- Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)