From: Curt Hibbs Date: 2004-08-04T22:08:52+09:00 Subject: Re: [ANN] Ruby Installer for Windows 1.8.2-14 **RC7** nobu.nokada@softhome.net wrote: > > At Sat, 31 Jul 2004 04:52:49 +0900, > Curt Hibbs wrote in [ruby-talk:107933]: > > Ok, ok... I know I said no more releases until > > 1.8.2 final, but Matz just released 1.8.2 > > preview2 so I thought I would get an installer > > out that includes this before I go on my vacation > > tomorrow. There were no other changes since rc6 Enjoy! > > Aren't you going to change the points which I wrote in > [ruby-talk:105550] and [ruby-talk:106176]? > > * environment variables TCL_LIBRARY and RUBY_{TCL,TK}_DLL are > set. > > * duplicated files. > > -- > Nobu Nakada I wanted to make these changes, but when I started to make the changes, it wasn't clear precisely what I was supposed to do. At that time I sent you a private email (to nobu.nokada@softhome.net) listing what I thought should be done and asking if that was correct, but I never got a response before I had to leave for my vacation. Below is what I sent you (please let me know if this is correct). Thank you, Curt -----Original Message----- From: Curt Hibbs [mailto:curt@curthibbs.us] Sent: Friday, July 16, 2004 12:47 PM To: nobu.nokada@softhome.net Cc: Curt Hibbs Subject: Corrections for TCL/TK nobu.nokada@softhome.net wrote: > At Thu, 8 Jul 2004 20:06:36 +0900, > Curt Hibbs wrote in [ruby-talk:105566]: > > > No, eban says those environment variables are not need at all. > > > RubyInstaller should just set PATH, but not TCL_LIBRARY. And > > > RUBY_{TCL,TK}_DLL are used only if tcltklib is compiled with > > > --enable-tcltk_stubs, but RubyInstaller doesn't. > > > > Good, I like that even better! I will change the installer to not set > > TCL_LIBRARY. > > Correction: It couldn't find tk.tcl file when it just is not > set. It worked by moving tcl/lib/* to lib. > > Another issue, there are identical files under samples/sample > and doc/Tcl/Tk-1.8.1/sample, except for several files only in > the former. Instead, *.{rb,so,lib} underneath lib are > superfluous, since they exist also under lib/ruby/1.8 and never > be used. I am making changes to the ruby installer build in preparation for matz' 1.8.2 preview1, and I want to make sure that I correctly understand what you have said needs to be done to fix TCL/TK in the ruby installer. This is particularly important since I do not know anything about TCL/TK myself and I rely on others for this advice and eventual testing. I think the easiest way to do this is to assume that my last release candidate, ruby182-14_rc3.exe, has been installed in the default location (c:\ruby), and I will then describe the changes I think need to be made using absolute paths. I'm fairly certain that this is wrong, but this is what I got determined from your emails: DEL C:\ruby\lib\tcl*.* DEL C:\ruby\lib\tk*.* MOVE DIR TREE C:\ruby\tcl\lib\ TO C:\ruby\lib DO NOT SET VAR "TCL_LIBRARY" Thank you for your help, Curt