Bug #3248: extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly http://redmine.ruby-lang.org/issues/show/3248 Author: Luis Lavena Status: Open, Priority: Normal Target version: 1.9.x ruby -v: Revision: 27624 Using GCC 3.4.5, under MinGW, with msysGit installed, extension tk is finding tcl and tk config bash scripts even when those are not in the path: <pre><code> compiling tk check functions......... check struct members.. Use ActiveTcl libraries (if available). 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'] Search Tcl library.. Found a Tcl library at c:/Users/Luis/Tools/Git/lib. Search Tk library.. Found a Tk library at c:/Users/Luis/Tools/Git/lib. </pre></code> This is using a subversion checkout, not a git checkout and a normal command prompt (instead of bash). Attached are config.log, config.status and mkmf.log from the ext build directory for tk extension. Steps to reproduce require Windows, subversion, Git and a clone of RubyInstaller build recipes. (of course, a working Ruby 1.8.6 or 1.8.7 is required too). ---------------------------------------- http://redmine.ruby-lang.org