From: kero@...38c.nl (Kero van Gelder) Date: 2002-03-01T08:59:08+09:00 Subject: Re: Installation Help - Ruby Tk In article <52f8880b.0202281149.434744bc@posting.google.com>, Mark Ramsay wrote: >I attempted to install Ruby with Tk on a 486 PC under SUSE Linux 7.0. >Ruby works fine. However when I try to run a Ruby script which >requires Tk I get the message: > >/usr/local/lib/ruby/1.6/tk.rb:7:in `require': No such file to load -- >tcltklib (LoadError) > from /usr/local/lib/ruby/1.6/tk.rb:7 > from address:3:in `require' > from address:3 I should put this somewhere in my tutorial... ./configure --prefix=/usr --with-tcl-include=/usr/include/tcl8.2/ \ --with-tk-include=/usr/include/tcl8.2/ '--mandir=${prefix}/share/man' \ '--infodir=${prefix}/share/info' is what I run to compile Ruby plus Tk on my debian system. YMMV. Ruby does not check all possible paths for Tk, but you can tell it. There is alo an option for tcl/tk libraries that get linked. Bye, Kero. +--- Kero ------------------------------ kero@chello.nl ---+ | Don't split your mentality without thinking twice | | Proud like a God -- Guano Apes | +--- M38c ------- http://members.chello.nl/~k.vangelder ---+