Project

General

Profile

Backport #5465

Ruby 1.9.3 fails to compile with tcl/tk on s390x

Added by Anonymous over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:40243]

Description

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.


Files

ruby-1.9.3-fix-s390x-build.patch (416 Bytes) ruby-1.9.3-fix-s390x-build.patch Anonymous, 10/20/2011 04:45 PM

Also available in: Atom PDF