Project

General

Profile

Actions

Bug #4811

closed

Tk extconf.rb failed

Added by yugui (Yuki Sonoda) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2011-06-01 trunk 31887) [i386-darwin9.8.0]
Backport:
[ruby-core:36657]

Description

=begin
On Mac OS X 10.5, with the folloing configure options, ext/tk/extconf.rb failed.
'--prefix=/Users/yugui/local' '--program-suffix=-trunk' '--with-rubylibprefix=/Users/yugui/local/lib/ruby-trunk' '--with-soname=ruby-trunk' '--with-ridir=/Users/yugui/local/share/ri-trunk' '--docdir=/Users/yugui/local/share/doc/ruby-trunk' '--with-rubyhdrdir=/Users/yugui/local/include/ruby-1.9.1-trunk' '--with-gdbm-dir=/opt/local' '--with-libyaml-dir=/opt/local' '--with-libffi-dir=/opt/local' '--with-openssl-dir=/opt/local' '--disable-install-capi' 'CC=ccache gcc'

Here is the console message:
configuring tk
check functions.........
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh....................................
Valid [tclConfig.sh, tkConfig.sh] are found in [["/System/Library/Frameworks/Tcl.framework", "/System/Library/Frameworks/Tk.framework"], ["/usr/lib", "/usr/lib"], ["/opt/local/lib", "/opt/local/lib"], ["/System/Library/Frameworks/Tcl.framework/Versions/Current", "/System/Library/Frameworks/Tk.framework/Versions/Current"], ["/System/Library/Frameworks/Tcl.framework/Versions/8.4", "/System/Library/Frameworks/Tk.framework/Versions/8.4"]]
Use [tclConfig.sh, tkConfig.sh] == ["/System/Library/Frameworks/Tcl.framework/tclConfig.sh", "/System/Library/Frameworks/Tk.framework/tkConfig.sh"]
Use MacOS X Frameworks.
/Users/yugui/dev/ruby/mri/master/ext/tk/extconf.rb:1970:in <top (required)>': can't convert nil into String (TypeError) from ../../ext/extmk.rb:164:in load'
from ../../ext/extmk.rb:164:in extmake' from ../../ext/extmk.rb:454:in block in '
from ../../ext/extmk.rb:450:in each' from ../../ext/extmk.rb:450:in '
make: *** [exts.mk] Error 1

This issue is also a release blocker of Ruby 1.9.2.
=end


Related issues 1 (0 open1 closed)

Follows Backport192 - Backport #4802: Please backport r31742Rejectedyugui (Yuki Sonoda)Actions
Actions #1

Updated by nagai (Hidetoshi Nagai) almost 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r31894.
Yuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • ext/tk/extconf.rb: fix for uninitialized global variables. [Ruby 1.9 - Bug #4811]
Actions

Also available in: Atom PDF

Like0
Like0