From: "fkc_email-news @ yahoo dot com" <fkchang2000 / gmail.com>
Subject: Re: compiling ruby/tk on 64 bit Redhat?
Date: Tue, 21 Nov 2006 03:05:09 +0900
Message-ID: <1164045705.464149.177750 / m73g2000cwd.googlegroups.com>
> I had to manually run the extconf.rb however and compile, and in doing
> such by hand the tkutil/extconf.rb didn't recognize the compiled?
> method.

Please try "ruby -r mkmf -e 'create_makefile("tkutil")'".
And if you don't mind modifying "extconf.rb", please try the following.

-----------<tkutil/extconf.rb>-------------------------------------
begin
  has_tk = compiled?('tk')
rescue NoMethodError
  # Probably, called manually (NOT from 'extmk.rb'). Force to make Makefile.
  has_tk = true
end

if has_tk
  require 'mkmf'
  create_makefile('tkutil')
end
-------------------------------------------------------------------
-- 
Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)