From: Uma Geller Date: 2006-12-18T23:22:28+09:00 Subject: Re: Problem installing Ruby/Tk > Installed Linux > Ruby 1.8.5 from source > I dont't know if I have Tcl/Tk installed already, but I found this > folder: > /home/christopherl/ruby-1.8.5/ext/tk > /home/christopherl/ruby-1.8.5/lib/test/unit/ui/tk Yes that's the _source_ for the tk extensions Ruby needs that to be compiled > I have also Ruby in these folders: > /usr/lib/ruby > /usr/local/lib/ruby good > 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 > Suggestions? It looks like the build process wasn't able to find Tcl/Tk headers, so your compiled Ruby ended up without compiled tk extensions. Can you check whether you have Tk installed in your system, and in case the answer is positive, verify it provides the necessary header files. If the package you use for Tk provides the headers, it may be storing them in a find the build process is not able to find without assistance, so you would have to let the ruby build process know that. Hope that helps best, UG --- Uma Geller http://umageller.wordpress.com