From: Markus Liebelt Date: 2005-01-08T02:41:27+09:00 Subject: Re: Using of tkextlib in ruby-182-14 Hello everybody, just to give a fast feedback to everyone which wants to do something similar as me. Finally, I succeeded (many thanks to Hidetoshi), and these were the steps to take: 1. Download the Tcl/Tk installer from http://www.activestate.com/Products/ActiveTcl/ with the best version you can get. I found finally the link ftp://ftp.activestate.com/ActiveTcl/Windows/8.3.3/, there you can download a fitting version. 2. Installed that version somewhere 3. Tried the example (for me: ...\ruby182\samples\tk\tkextlib\iwidgets\sample> combobox.rb) and got some error message. 4. Copied the missing files to the directory ..\ruby182\lib and ...\ruby182\bin: lib\iwidgets\ lib\itcl3.2\ lib\itk3.2\ lib\itcl32.lib lib\itclstub32.lib lib\itk32.lib lib\itkstub32.lib bin\itcl32.dll bin\itk32.dll 5. Finally got the examples running! Thanks a lot once again to Hidetoshi for his hints, and thank you all for the helpfull community which knows everything I want to know :-) Bye Markus On Fri, 07 Jan 2005 17:55:57 +0100, Markus Liebelt wrote: > Hello Hidetoshi, > > On Fri, 7 Jan 2005 11:30:08 +0900, Hidetoshi NAGAI > wrote: > >> Hi, >> >> From: "Markus Liebelt" >> Subject: Using of tkextlib in ruby-182-14 >> Date: Fri, 7 Jan 2005 05:06:31 +0900 >> Message-ID: >>> Could someone enlight me what is going wrong? I would like to use the >>> additional widget combobox, and have found no way to do it. >> >> Because One-Click-Ruby-Installer has standard Tcl/Tk libraries only. >> tkextlib/* are files to support Tcl/Tk extensions (iwidgets/* requires >> the IWidgets extention). >> >> Probably, it is the easiest way to install a ActiveTcl binary package >> which can be downloaded from the ftp site of ActiveState (please see >> "Support&Resources" at http://www.activestate.com/Products/ActiveTcl/). >> >> # Maybe, delete Tcl/Tk libraries included the Ruby-Installer. >> >> However, you must get the ActiveTcl8.3.x (Not the latest version). >> TclTkLib::COMPILE_INFO of tcltklib on Ruby-Installer is >> --------------------------------------------------------------------- >> "tcltklib 2004-12-23 :: Ruby1.8.2 (2004-12-25) with pthread :: >> Tcl8.3.2(without stub)/Tk8.3.2(without stub) with tcl_threads" >> --------------------------------------------------------------------- >> It shows the tcltklib works with Tcl/Tk8.3 only. > > I'm just downloading a 8.3 version, and will have a look at it. > >> If want to use ActiveTcl8.4.x or 8.5.x, please read [ruby-talk:120774]. >> Although the tcltklib binary described at there is old, maybe work >> with latest Ruby-Installer. > > I just stick to the version the most close to the one currently used in > Ruby. By the way, are there plans to upgrade to Tcl/Tk 8.4 or 8.5 in the > near future? Not that I need a lot of features provided by these > versions, just for curiosity ... > > Thank you for your help > > Bye > Markus > -- Markus Liebelt; markus.liebelt@online.de