From: James Edward Gray II Date: 2005-11-27T03:28:18+09:00 Subject: Re: Mac OS X TK On Nov 26, 2005, at 10:40 AM, Hidetoshi NAGAI wrote: > From: James Edward Gray II > Subject: Re: Mac OS X TK > Date: Sun, 27 Nov 2005 01:09:28 +0900 > Message-ID: <01A0C547-E567-4E19-BE17-3BE0759995A2@grayproductions.net> >> If tkutil.so is supposed to be in Ruby's lib directories, it's not >> there. Is there another place I should be looking for it? > > I don't know the directory name of Ruby's dynamic library on MacOS X. > But the directory is a sub-directory of the Ruby's library directory. > For example, in my env, that is "/usr/local/lib/ruby/1.8/i686-linux". You led me right to it: Neo:~$ ruby -e 'p $:' ["/usr/local/lib/ruby/site_ruby/1.8", "/usr/local/lib/ruby/site_ruby/ 1.8/powerpc-darwin8.3.0", "/usr/local/lib/ruby/site_ruby", "/usr/ local/lib/ruby/1.8", "/usr/local/lib/ruby/1.8/powerpc-darwin8.3.0", "."] Neo:~$ ls /usr/local/lib/ruby/1.8/powerpc-darwin8.3.0/t* /usr/local/lib/ruby/1.8/powerpc-darwin8.3.0/tcltklib.bundle /usr/local/lib/ruby/1.8/powerpc-darwin8.3.0/tkutil.bundle > # Which sourse archive do you use? > # Old version of archive (e.g. ruby-1.8.2) doesn't support > # tcltk-framework of the latest MacOS X. This sounds like my problem right here. 1.8.3 caused me headaches, so I'm back to 1.8.2. That's the source I used. I have TK working in the Apple install (/usr/bin/ruby), so I guess it's not too big of a deal. I was just trying to get it to work with my install, if possible. Thanks again for trying to help. James Edward Gray II