From: Bharadwaj Srigiriraju Date: 2012-05-18T19:48:05+09:00 Subject: Re: problem installing TkRuby on ubuntu 12.04 Hidetoshi NAGAI wrote in post #1061251: > Hmmm... Well, it may be a bug on "ext/tk/extconf.rb". > Could you tell me the result of "ldd > (your_ruby191_lib_dir)/tcltklib.so"? I think my ruby1.9.1 library is at /usr/lib/ruby/1.9.1/x86_64linux (correct me if I am wrong here) This was the result when I used ldd: linux-vdso.so.1 => (0x00007fff4746d000) libruby-1.9.1.so.1.9 => /usr/lib/libruby-1.9.1.so.1.9 (0x00007f10edb99000) libtcl8.5.so.0 => /usr/lib/libtcl8.5.so.0 (0x00007f10ed880000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f10ed585000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f10ed251000) libXss.so.1 => /usr/lib/x86_64-linux-gnu/libXss.so.1 (0x00007f10ed04d000) libXft.so.2 => /usr/lib/x86_64-linux-gnu/libXft.so.2 (0x00007f10ece37000) libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f10ecc01000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f10ec844000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f10ec626000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f10ec41e000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f10ec21a000) libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f10ebfe0000) /lib64/ld-linux-x86-64.so.2 (0x00007f10ee338000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f10ebdc2000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f10ebbb1000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f10eb914000) libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f10eb70a000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f10eb4e0000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f10eb2dc000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f10eb0d6000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f10eaebe000) > 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 looking at your homepage, but it was in Japanese and I didn't understand it. > Could you rebuild libtcltk-ruby1.9.1 package with Tcl/Tk8.5.11 > libraries? I am newbie to building packages, but tried doing getting ruby1.9.1 source and compiling and installing it... but I think that is essentially the same as getting it from apt-get. TBH, I don't know how to rebuild the package libtcltk-ruby1.9.1 with Tcl/Tk8.5.11. If you can tell me how to do that, I will be able to do it. > And, if you can, send me "ext/tk/mkmf.log" and "ext/tk/Makefile"? > Probably, the rebuilded package will work properly. I am attaching those files. Those are just the files I am directly attaching from source. I don't know whether they belong to Tcl/Tk8.5.11 or not. Attachments: http://www.ruby-forum.com/attachment/7406/mkmf.log http://www.ruby-forum.com/attachment/7407/Makefile -- Posted via http://www.ruby-forum.com/.