From: Alex Legler Date: 2010-08-19T02:03:17+09:00 Subject: [ruby-core:31758] [Backport #3713] Ruby 1.8.6 fails to build against Tk >= 8.5 Backport #3713: Ruby 1.8.6 fails to build against Tk >= 8.5 http://redmine.ruby-lang.org/issues/show/3713 Author: Alex Legler Status: Open, Priority: Normal 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 ---------------------------------------- http://redmine.ruby-lang.org