From: Luis Lavena <luislavena / gmail.com>
Subject: [ruby-core:33922] Re: [Ruby 1.9-Bug#4141][Open] Tk extension is not accepting any type of parameter combination
Date: Mon, 27 Dec 2010 21:04:29 +0900
Message-ID: <AANLkTikngfu6Ty0o9BqCb3ab3pdn5ETR+CVF8YKZHwee / mail.gmail.com>
> I've tried the patch you provided, and this is what I got in the console:
     (snip)
> c:/Users/Luis/Projects/oss/ruby/ext/tk/extconf.rb:1651:in `merge!':
> can't convert nil into Hash (TypeError)

Oh, I'm sorry. Please replace line 1651 - 1652 from
----------------------------------------
TclConfig_Info.merge!(TkLib_Config["tclConfig_info"])
TkConfig_Info.merge!(TkLib_Config["tkConfig_info"])
----------------------------------------
to
----------------------------------------
TclConfig_Info.merge!(TkLib_Config["tclConfig_info"]) if TkLib_Config["tclConfig_info"]
TkConfig_Info.merge!(TkLib_Config["tkConfig_info"]) if TkLib_Config["tkConfig_info"]
----------------------------------------

> tcl and tk are compiled and installed in different folders, as tk

I'm not enough to assume such case.
Could you tell me configure options which you gave for tcltklib?
And, if you can, please show me tclConfig.sh and tkConfig.sh.
-- 
Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)
Department of Artificial Intelligence, Kyushu Institute of Technology