From: Hidetoshi NAGAI Date: 2005-11-27T01:40:14+09:00 Subject: Re: Mac OS X TK 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". > What could cause it not to build? If your source archive doesn't include "ext/tcltklib/" directory, probably, you fail to compile tcltklib.so (maybe, fail to find Tcl/Tk header files or libraries). When cannot make tcltklib.so, tkutil.c is not compiled. # 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. # ruby-1.8.3 or later will support it. If your source archive includes both of "ext/tcltklib/" and "ext/tk/", tkutil.c should be compiled. If not, I'm sorry but I don't know the reason too. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)