Windows RubyInstaller 1.8.7: Installing missing TCL/TK packages?

Hi,

(I asked this before via google.groups, but I think this was wrong; so
again here…)

On a WindowsXP-laptop I’ve installed RubyInstaller 1.8.7-p357, including
the integrated TCLTk-installation. Ruby version is 1.8.7 (2009-06-12
patchlevel 174) [i386-mingw32]. RubyTk works “out of the box” (thank
you!), but for using “vu”, it seems that I need an additional TCL/TK
(not Ruby) package.

How can I install this?

I have no original TCL/TK (like Active State) installed on this
laptop. For Active State I would probably use “teacup”.

Background is, that I want to display measured data similar to an
oscilloscope. Data are coming in via ruby-serialport. On another
Windows computer where I have an older Ruby installation, which is using
Active State’s TCL/TK, this little application (seems to) works.

Kind regards,
Axel

(I asked this before via google.groups, but I think this was wrong; so
again here…)

Our main RubyInstaller ML is
http://groups.google.com/group/rubyinstaller

On a WindowsXP-laptop I’ve installed RubyInstaller 1.8.7-p357, including
the integrated TCLTk-installation. Ruby version is 1.8.7 (2009-06-12
patchlevel 174) [i386-mingw32]. RubyTk works “out of the box” (thank
you!), but for using “vu”, it seems that I need an additional TCL/TK
(not Ruby) package.

How can I install this?

…SNIP…

Background is, that I want to display measured data similar to an
oscilloscope. Data are coming in via ruby-serialport. On another
Windows computer where I have an older Ruby installation, which is using
Active State’s TCL/TK, this little application (seems to) works.

This sound interesting.

Our Tcl/Tk (currently v8.5.11) library integration is private to the
RubyInstaller rather than being general purpose. That means the Tcl/Tk
stuff primarily lives in <INSTALL_DIR>/lib/tcltk.

I don’t work in Tcl/Tk, but I wonder if a reasonable hack for your
situation would be to embed the “vu” stuff into RubyInstaller’s private
Tcl/Tk lib. Also wondering if you can move to 1.9.3 given 1.8.7 is
effectively EOL and all the good work (Windows performance/usability and
otherwise) is happening on 1.9.3 and 2.0.0.

Why don’t you post this question to our RubyInstaller ML and see if we
can come up with something creative?

Jon

This sound interesting.

Yes, for me it’s very interesting. Doing such things with Ruby.

I don’t work in Tcl/Tk, but I wonder if a reasonable hack for your
situation would be to embed the “vu” stuff into RubyInstaller’s private
Tcl/Tk lib.

I copied the vu stuff from an ActivTCL directory to …/lib/tcltk, but
unfortunately this doesn’t help.

Also wondering if you can move to 1.9.3 given 1.8.7 is
effectively EOL and all the good work (Windows performance/usability and
otherwise) is happening on 1.9.3 and 2.0.0.

I can. Up to now, I hesitated using 1.9, because of the string encoding
stuff, and because I’m quite happy with 1.8.7.
Could RubyInstaller 1.9.3 help with my TK-Problem?

Why don’t you post this question to our RubyInstaller ML and see if we
can come up with something creative?

Thank you for your offer!

Axel

Solved.

Putting vu2.3 into c:\Tcl\lib
and setting env:
set TCLLIBPATH=c:/Tcl/lib
(forward slashes!)
works.

Details:
RubyInstaller-Forum, 2012-01-27,
“Windows RubyInstaller 1.8.7: Installing missing TCL/TK packages?”:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/332c4664b8a52eb8#

Axel