From: ts Date: 2000-08-27T19:45:31+09:00 Subject: [ruby-talk:4600] Re: Can't get Tcl/Tk working >>>>> "S" == Stephen White writes: S> If I edit ext/Setup, uncomment tkutil and tcltklib, and recompile, I get the S> same error. It doesn't appear to be compiling tcltklib at all. If I then go S> into the ext directory and directly compile and install the module, then it S> complains about not being able to find tk.h (which is in /usr/X11R6/include) Try (probably there is a better way to do it) cd ext/tcltklib ruby extconf.rb --with-tk-include=/usr/X11R6/include \ --with-tk-lib=/directory/where/is/libtk make make install or if tk.h is in /usr/X11R6/include and libtk in /usr/X11R6/lib ruby extconf.rb --with-tk-dir=/usr/X11R6 Same with --with-tcl-include and --with-tcl-lib if it don't find tcl.h or libtcl (you have also --with-X11-include, --with-X11-lib and --with-X11-dir) See the file extconf.rb Guy Decoux