Issue #5465 has been reported by Bohuslav Kabrda.

----------------------------------------
Bug #5465: Ruby 1.9.3 fails to compile with tcl/tk on s390x
http://redmine.ruby-lang.org/issues/5465

Author: Bohuslav Kabrda
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3dev (2011-09-13 revision 33263) [s390x-linux] 


When compiling Ruby 1.9.3 on s390x without specifying --libdir for configure, tcl/tk extension fails to build: Fail to find [tclConfig.sh, tkConfig.sh].
This is caused by erroneous function maybe_64bit? in ext/tk/extconf.rb, which doesn't recognize s390x as 64 bit architecture.

Proposed fix is in attached file.


-- 
http://redmine.ruby-lang.org