From: "nagachika (Tomoyuki Chikanaga)" Date: 2013-08-29T10:04:09+09:00 Subject: [ruby-core:56857] [ruby-trunk - Bug #8656] Cannot Build Ruby-Tk Issue #8656 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: UNKNOWN, 2.0.0: DONE backported to ruby_2_0_0 by r42370. ---------------------------------------- Bug #8656: Cannot Build Ruby-Tk https://bugs.ruby-lang.org/issues/8656#change-41399 Author: wandns (Alex D) Status: Closed Priority: High Assignee: Category: Target version: ruby -v: ruby 1.9.3p448 (2013-06-27 revision 41675) [i386-darwin11] Backport: 1.9.3: UNKNOWN, 2.0.0: DONE I am using NetBSD's pkgsrc, and I cannot build ruby-tk because of a typo in ext/tk/extconf.rb. More information is available here: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48064 >Fix: --- /pkgsrc/x11/ruby-tk/work/ruby-1.9.3-p448/ext/tk/extconf.rb 2013-06-26 03:57:49.000000000 -0400 +++ /pkgsrc/x11/ruby-tk/extconf.rb.fixed 2013-07-18 22:16:25.000000000 -0400 @@ -315,7 +315,7 @@ paths.map{|dir| dir.strip.chomp('/')}.each{|dir| next unless File.exist?(File.join(dir, "Tcl.framework", "Headers")) next unless File.directory?(tcldir = File.join(dir, "Tcl.framework")) - next unless File.exist?(File.join(dir, "Tk.framework"), "Headers") + next unless File.exist?(File.join(dir, "Tk.framework", "Headers")) next unless File.directory?(tkdir = File.join(dir, "Tk.framework")) TkLib_Config["tcltk-framework"] = dir return [tcldir, tkdir] -- http://bugs.ruby-lang.org/