From: bobx@... (Bob) Date: 2002-03-21T21:45:37+09:00 Subject: Re: Ruby/Tk on OSX Chris Gehlker wrote in message news:... > On 3/20/02 8:42 AM, "Jack Herrington" wrote: > > > Has anyone had any success running Ruby/Tk on OSX. > > > > Curently I am stuck at the: > > > > /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 -:1:in `require' > > from -:1 > > > > Phase of the problem. I'm not sure why this is an issue, since > > tcltklib seems to compile with the Ruby distribution. But I can't > > find where it is going. > > > > I don't think so. It's looking for a file named tcltklib.rb and not finding > it. I searched through the install directory and it's not there so the > install must be supposed to make it. But it doesn't. > > The problem seems to be in extconf.rb. Look at find_tcl() and in particular > the definition of paths. I don't see how this is going to find the tk/tcl > stuff in /System/Library/Frameworks. > > So much of the install just works that there must be a better definition of > paths elsewhere that we could ask Matz to plug in. I'd chase it down but I > have to do something else now. If you do figure it out, please post. > > Otherwise, I'll figure it out "someday." Tcl is on OSX...Tk is not...unless you get the 8.4a version but I don't know if that breaks Ruby/Tk or not.