From: hubert@... (Hubert Hung-Hsien Chang) Date: 2001-08-10T07:42:08+09:00 Subject: [ruby-talk:19462] installation errors on win2000 I have "fortunately" enough to have to try on Ruby on four different environments. It works well in Linux, Solaris and Window 98. Here is the sticky one. As I am using the window 2000 5.00.2195 and I decide (in fact, am FORCED) using manual setting for environment. So I wrote a little .bat files TCL_LIBRARY=c:\ruby\tcl\lib\tcl8.3; RUBY_TCL_DLL=c:\ruby\tcl\bin\tcl83.dll; RUBY_TK_DLL=c:\ruby\tcl\bin\tk83.dll; PATH = %PATH;c:\ruby\bin PATHEXT = %PATHEXT;.rb;.rbw; And it works fine for the ruby.exe but when I am trying tk module the following simple program won't even work require 'tk' puts "hello world, yeah, right, I am just trying" I hit ^D and it gave me the following message: /cygdrive/c/ruby/lib/ruby/1.6/tk.rb:7:in `require': tcltklib: tcltk_stubs init e rror(-1) (LoadError) from /cygdrive/c/ruby/lib/ruby/1.6/tk.rb:7 from -:1:in `require' from -:1 What went wrong? Do I have to set the cygdrive or something? I even try to add TK_LIBRARY=c:\ruby\tcl\lib\tk8.3; but the result is the same. Well, this is not the part of "Alpha" version (running at your own risk? right?) It works fine at home where I am using Win98. Any advice? pointer? Thank you. Hubert