From: digibren Date: 2003-04-07T17:54:55+09:00 Subject: making module 'tk' work on mac os x Hello, I'm trying to use the tk module with tcl and tk I've compiled against X11 on mac os x. everything compiles fine and I can do require 'tcltk' succesfully but I get an error with require 'tk' : irb(main):001:0> require 'tk' RuntimeError: version conflict for package "Tcl": have 8.3, need 8.4 from /supp/lib/ruby/1.6/tk.rb:474:in `new' from /supp/lib/ruby/1.6/tk.rb:474 from (irb):1:in `require' from (irb):1 my configure line was: CFLAGS='-g -O2 -fno-common -I/usr/X11R6/include -L/usr/X11R6/lib -I/supp/include -L/supp/lib' ./configure --prefix=/supp --exec-prefix=/supp --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-shared where /supp has my versions of tcl and tk I even tried using --with-tcl-include etc as per an archived post but same results. I'm assuming somehow the compile is using the system default tcl that apple shipped to /usr/lib and friends which is 8.3 instead of the one in /supp which is 8.4 any thoughts on how to avoid that without just deleting apple's tcl? Brennan