From: Hidetoshi NAGAI Date: 2010-05-06T19:09:37+09:00 Subject: [ruby-core:30051] Re: [Bug #3248] extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly From: Luis Lavena Subject: [ruby-core:30041] [Bug #3248] extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly Date: Thu, 6 May 2010 09:46:51 +0900 Message-ID: <4be2117b67a85_999c9b1e801358a2@redmine.ruby-lang.org> > This issue still appears as r27635: I'm very sorry. I misunderstood about your trouble. > Search tclConfig.sh and tkConfig.sh.......................................................... > Valid tclConfig.sh and tkConfig.sh are found in ["c:/Users/Luis/Tools/Git/lib"] > Use [tclConfig.sh,tkConfig.sh] == ['c:/Users/Luis/Tools/Git/lib/tclConfig.sh','c:/Users/Luis/Tools/Git/lib/tkConfig.sh'] > > Git/lib is *not* in the PATH, so why extconf.rb is finding it? It shouldn't Because your PATH includes "c:/Users/Luis/Tools/Git/cmd". extconf.rb of tk searchs tclConfig.sh/tkConfig.sh from "/../lib" directory. It supposes the relation of "/bin" and "/lib", e.g. "/usr/opt/bin" and "/usr/opt/lib". But, on your environment, the supposition resulted in improper files. Can you temporaly remove the path from PATH, or give --with-tclConfig-file/--with-tkConfig-file option? -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)