Project

General

Profile

Actions

Bug #8830

closed

Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion)

Added by mceruso (Marco Ceruso) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p247 (2013-06-27) [x86_64-darwin12.4.0]
[ruby-core:56856]

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]

Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #8656: Cannot Build Ruby-TkClosed07/19/2013Actions

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0