From: Hidetoshi NAGAI Date: 2012-05-23T07:39:31+09:00 Subject: Re: problem installing TkRuby on ubuntu 12.04 Hi, I'm very sorry for my late reply. From: Bharadwaj Srigiriraju Subject: Re: problem installing TkRuby on ubuntu 12.04 Date: Fri, 18 May 2012 19:48:05 +0900 Message-ID: <710b19896c1bf6e20b6f3c9ad4abc126@ruby-forum.com> > I think my ruby1.9.1 library is at /usr/lib/ruby/1.9.1/x86_64linux > (correct me if I am wrong here) The reason of the trouble is that a Tk library (Tk 8.5.10) is static-linked to tcltklib.so. Probably, it's a bug on ext/tk/extconf.rb. Please give me some time to fix it. >> It should be possible. >> Current Ruby/Tk cannot support Tcl/Tk8.6 (a new command of Tcl8.6 breaks >> a call stack which includes Ruby's method call), but must work with 8.5. > > Oh... that sounds interesting... Just asking out of curiosity, What is > that new command and How does it end up breaking the call stack? I tried It's "tailcall" command. "break" may not be a proper word. Probably, the command doesn't expect that it is called from a non-tcl function. So, a ruby function which calls a tcl function including tailcall gets an improper result. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) Department of Artificial Intelligence, Kyushu Institute of Technology