From: "nobu (Nobuyoshi Nakada)" Date: 2013-08-29T13:06:42+09:00 Subject: [ruby-core:56859] [ruby-trunk - Bug #8830][Closed] Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion) Issue #8830 has been updated by nobu (Nobuyoshi Nakada). Status changed from Open to Closed ---------------------------------------- Bug #8830: Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion) https://bugs.ruby-lang.org/issues/8830#change-41401 Author: mceruso (Marco Ceruso) Status: Closed Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0p247 (2013-06-27) [x86_64-darwin12.4.0] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN The file ext/tk/extconf.rb seems to contain a typo (misplaced parenthesis line 318; see output of 'diff -u ' below. The issue was reported earlier (bug #8656) for ruby 1.9.7 p448 and is now closed, but the typo is still present in the tar archive (ruby-2.0.0-p247.tar.gz) that can be downloaded from the website --- extconf.rb.orig 2013-06-17 11:38:49.000000000 -0400 +++ extconf.rb.modif 2013-08-28 20:09:00.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/