Apps :: tcl
I get a lot of errors trying to install tcl library files (widgets, etc) from MyDsl, and can't find much relevant documentation on getting it up and running. I've tried installing tcl files from site outside DSL, but was not allowed to configure due to what looks like compatibility problems. I'm interested in rewritting some windows apps written in Boreland that I can run in linux, and was hoping tcl might be the right environmnent.
All of the widgets available from myDSL should work with the tcl/tk 8.4 uci extension. They haven't been tested with the tcl/tk 8.3 extension, and will probably not work without tweaking some environment variables. The uci and widgets were built to run from /opt/tcltk-8.4, and the 8.3 version was not.
As for installing widgets that are not currently available from myDSL, I couldn't say how you'd do it. The tcl/tk extension was packaged without the includes, so it probably works only for pre-compiled widgets. If you get precompiled widgets from a source other than myDSL, you will probably need to set up your environment to tell them where Tcl is.
I get checksum errors when attempting to install tcl library packages from MyDsl.
"All of the widgets available from myDSL should work with the tcl/tk 8.4 uci extension"
I just found 8.4 under UCI. I'll try that. Thanks
As far as I know, the checksum errors are unrelated to software compatibilty, but instead have something to do with a failed download. I don't know if it is an issue with the ibiblio server, or with wget, or with your internet connection, but the error seems to be fairly common with the myDSL gui. You might try downloading with a web browser, ftp client, or using wget directly so you can make sure that the download actually completes.
No problem with the tcl console, but Tk doesn't appear to be loaded. I'm looking at a tutorial:
#! /usr/local/bin/wish8.1
button .hello -text "Hello, World!" -command { exit }
pack .hello
tkwait window .
_
wish8.4 is in /opt/tcltk-8.4/bin/wish8.4. , and if I substitute this path, I get a window telling me that Tk isn't loaded.
I noted the info file in MyDsl stated that the $PATH variable needs to be set to the /opt/... path. I'm guessing there's someplace to do this, or does the PATH variable need to be set in the code? Thanks
Next Page...
original here.