From: nobu.nokada@... Date: 2004-08-05T15:14:21+09:00 Subject: Re: [ANN] Ruby Installer for Windows 1.8.2-14 **RC7** Hi, At Wed, 4 Aug 2004 22:08:52 +0900, Curt Hibbs wrote in [ruby-talk:108303]: > 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. Unfortunately, I've not received it. > > > > 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*.* And lib/{*-tk.rb,tk,tkextlib,README}. In other words, not install ext/tk there. > MOVE DIR TREE C:\ruby\tcl\lib\ > TO C:\ruby\lib Also tcl\include, and remove samples/Tcl/Tk-1.8.1/sample then move sample/sample to there. > DO NOT SET VAR "TCL_LIBRARY" And RUBY_TCL_DLL and RUBY_TK_DLL. Or, you could configure with --enable-tcltk_stubs option; I recommend this so that users can select other tcl/tk versions and locations by the above two variables. -- Nobu Nakada