Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: tcl< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: April 30 2006,17:53 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 30 2006,19:00 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: April 30 2006,19:42 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 30 2006,20:28 QUOTE

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.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: May 01 2006,05:08 QUOTE

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
Back to top
Profile PM 
10 replies since April 30 2006,17:53 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: tcl

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code