From: Hidetoshi NAGAI Date: 2006-12-19T10:08:50+09:00 Subject: Re: Problem installing Ruby/Tk From: Christopher Latif Subject: Problem installing Ruby/Tk Date: Mon, 18 Dec 2006 22:03:27 +0900 Message-ID: <4d8aa1df7483d2511c60ecbc6b6f9b5d@ruby-forum.com> > Installed Linux > Ruby 1.8.5 from source (snip) > But got this when I tried to run the program: > test.rb:1:in `require': no such file to load -- Tk (LoadError) > from test.rb:1 If you fail "require 'tcltklib'", you have no available tcltklib.so on your Ruby's library path. Probably, "configure" command couldn't find Tcl/Tk libraries. From: Christopher Latif Subject: Re: Problem installing Ruby/Tk Date: Tue, 19 Dec 2006 01:50:13 +0900 Message-ID: <184a26d86bc891d8d260ae4f56866f78@ruby-forum.com> > I've installed ActiveTcl8.4, in /usr/local/ActiveTcl-8.4. If you want use the ActiveTcl libraries, please try $ ./configure --with-tcl-dir=/usr/local/ActiveTcl-8.4/ --with-tk-dir=/usr/local/ActiveTcl-8.4/ --with-tcllib=tclstub8.4 --with-tklib=tkstub8.4 --enable-tcltk-stubs or $ ./configure --with-tcl-dir=/usr/local/ActiveTcl-8.4/ --with-tk-dir=/usr/local/ActiveTcl-8.4/ --with-tcllib=tclstub8.4 --with-tklib=tkstub8.4 --enable-tcltk-stubs --enable-pthread , and recompile and reinstall. Necessity of "--enable-pthread" depends on your ActiveTcl's version. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)