From: Christopher Sawtell Date: 2001-09-02T18:48:30+09:00 Subject: [ruby-talk:20694] Re: install problems.. On Sun, 02 Sep 2001 06:51, Chris Moore wrote: > When trying out tk exmple I got this: > tkexample.rb:1:in `require': No such file to load -- tk (LoadError) > from tkexample.rb:1 > > so I looked in /usr/lib/ruby and found that there was indeed no tk.rb or > tk.so in any of the subdirectories... > > Since I had 1.6.4 (?) anyways I deciced to get new source and compile (my > old source directory didn't have ext/tk either...) and upon reinstallation > it gave me the same message. The ext directory and subdirectories compiled > their .so files and the .rb files are there just they didn't get copied to > /usr/lib/ruby with make install. > > Do I just need to copy the whole ruby/ext directory to /usr/lib/ruby/ ? You have to install all the Tcl/Tk and extentions stuff in your distribution, do a make distclean in the ruby dir. Re- configure and make ... That worked for me. -- Sincerely etc., NAME Christopher Sawtell CELL PHONE 021 257 4451 ICQ UIN 45863470 EMAIL csawtell @ paradise . net . nz CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz -> Please refrain from using HTML or WORD attachments in e-mails to me <-