Bug #9386
closedRuby won't build tcl/tk extension, libpathflag expects array
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) almost 11 years ago
- File 0001-Fix-tk-extconf-to-pass-arrays-instead-of-strings-to-.patch 0001-Fix-tk-extconf-to-pass-arrays-instead-of-strings-to-.patch added
Including alternative patch if we don't want to change the mkmf. This just fixes the revision.
Updated by nobu (Nobuyoshi Nakada) almost 11 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]