Project

General

Profile

Actions

Bug #9386

closed

Ruby won't build tcl/tk extension, libpathflag expects array

Added by jstribny (Josef Stribny) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
-
ruby -v:
trunk
Backport:
[ruby-core:59660]

Description

Hi,

I wasn't successful building Ruby tcl/tk extension from trunk, since the last revision[1] switched to use libpathflag method
that expects an array, but on my Fedora "/usr/lib64":String would be passed to the method.

I believe the method should be accepting strings for single path as well (rather than fixing the commit by ensuring that an Array is passed).
What do you think? Without the patch I am including I can't build Ruby with tcl/tk ext on Fedora.

Thank you.

[1] https://github.com/ruby/ruby/commit/dc4922b89d4e11fdf6a552e226fd901c3e67c99a


Files

Updated by jstribny (Josef Stribny) over 10 years ago

Including alternative patch if we don't want to change the mkmf. This just fixes the revision.

Actions #3

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

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

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


tk/extconf.rb: fix libpathflag arguments

  • ext/tk/extconf.rb: fix to pass arrays instead of strings to
    libpathflag. patch at [ruby-core:59665]. [Bug #9386]
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0