Actions
Bug #8830
closedCannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion)
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p247 (2013-06-27) [x86_64-darwin12.4.0]
Backport:
Description
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]
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Status changed from Open to Closed
Actions
Like0
Like0