[Osw-users] Tcl/Tk 8.4.9
Brought to you by:
peoplestank
From: James R. <jam...@co...> - 2005-02-12 23:54:47
|
All, Hello, my name is Jim Ravan and I am new to OSW. My Tcl does not *seem* to be threaded, so I am on the journey to try to compile a Tcl that *is* threaded. I downloaded the latest 8.4.9 sources from the SourceForge Tcl site and configured with "-enable-threads". The make looked fine, so I tried "Make test". All the tests that ran were successful. Now the problem. I'm running PlanetCCRMA under Fedora Core 3. The supplied tclsh in /usr/bin says "no such array element" when I try: $ tclsh % puts $tcl_platform(threaded) So after the successful "make test", which included tests for threading, by the way, while still in the unix subdirectory of the downloaded 8.4.9 Tcl source tree, and before I stuck things in /usr/local/bin with a "make install", I made sure that threading was enabled in the newly compiled tclsh by typing: $ ./tclsh % puts $tcl_platform(threaded) Well, it said the same thing as the original tclsh said: "no such array element"! So I'm confused. After I configured with "-enable-threads", I expected the make to "just work". But it seems, and a few Google searches seem to bear out, that tcl_platform should contain a "threaded" element that contains 1. And that is not the case in my new tclsh for some reason. Why does my compiled tclsh not have a tcl_platform "threaded" entry even though I configured with "-enable-threads"? (And when I look at the configure output, it seems to be checking some details about pthreads.) Can anyone help, or point me to the tcl mailing list where I should be asking this question? Thanks, -jim |