From: mcjramsay@... (Mark Ramsay) Date: 2002-03-01T17:52:43+09:00 Subject: Re: Installation Help - Ruby Tk kero@chmeee.m38c.nl (Kero van Gelder) wrote in message news:... > 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 ---+ My tcl/tk installation is in: /local/usr/ActiveTcl (with subdirectories bin, include, lib, man..) So, I tried running configure with: ../configure --prefix=/usr --with-tcl-include=/usr/local/ActiveTcl --with-tk-include=/usr/local/ActiveTcl Is this correct? I get the same problem as before. I don't have much experience with configure, make etc. Many thanks for any more help.