Project

General

Profile

Actions

Bug #3713

closed

Ruby 1.8.6 fails to build against Tk >= 8.5

Added by a3li (Alex Legler) over 14 years ago. Updated over 5 years ago.

Status:
Closed
Target version:
-
[ruby-core:31758]

Description

=begin
Building ruby 1.8.6 with Tk support and an installed Tk version of 8.5 or later results in the following compilation failure:

i686-pc-linux-gnu-gcc -shared -o ../../.ext/i686-linux/tcltklib.so tcltklib.o stubs.o -L. -L../.. -L. -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby18 -ltk -ltcl -lX11 -ldl -lrt -ldl -lcrypt -lm -lc
tcltklib.o: In function ip_make_menu_embeddable': /var/tmp/portage/dev-lang/ruby-1.8.6_p388-r1/work/ruby-1.8.6-p388/ext/tk/tcltklib.c:7849: undefined reference to TkFindMenuReferences'
/var/tmp/portage/dev-lang/ruby-1.8.6_p388-r1/work/ruby-1.8.6-p388/ext/tk/tcltklib.c:7876: undefined reference to TkEventuallyRecomputeMenu' /var/tmp/portage/dev-lang/ruby-1.8.6_p388-r1/work/ruby-1.8.6-p388/ext/tk/tcltklib.c:7877: undefined reference to TkEventuallyRedrawMenu'

A comment in our Bugzilla ([0]) suggests that these are internal symbols no longer exported by Tcl 8.5 and later. Ruby 1.8.7 works fine, so I guess there is something to backport to 1.8.6, I just have no idea what.

[0] https://bugs.gentoo.org/show_bug.cgi?id=332597#c5
=end


Files

tcltklib.c.diff (1.92 KB) tcltklib.c.diff backport patch nagai (Hidetoshi Nagai), 08/27/2010 02:07 PM
tcltklib.c.diff2 (3.47 KB) tcltklib.c.diff2 nagai (Hidetoshi Nagai), 08/27/2010 02:22 PM
Actions #1

Updated by shyouhei (Shyouhei Urabe) over 14 years ago

  • Status changed from Open to Assigned
  • Assignee set to wyhaines (Kirk Haines)

=begin

=end

Actions #2

Updated by nagai (Hidetoshi Nagai) over 14 years ago

=begin
backport patch

=end

Actions #3

Updated by nagai (Hidetoshi Nagai) over 14 years ago

=begin
I'm very sorry. The previous patch is wrong.
Probably, this patch is right.

=end

Actions #4

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Tracker changed from Backport to Bug
  • Project changed from Backport186 to Ruby master
  • Description updated (diff)
  • Status changed from Assigned to Closed
  • Backport set to 2.5: UNKNOWN, 2.6: UNKNOWN
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0