ActiveTCL non thread version of 8.4.15

Posted by anilgopu on 2007-08-16 02:18

Where can I get the "ActiveTCL non thread version of 8.4.15", in the Active State site we have threaded version.

jeffh
ActiveState Staff
Thu, 2007-08-16 10:02

ActiveTcl ships with threads enabled on Windows and OS X for 8.4 and all platforms for 8.5 (though unix threaded and fork() don't mix yet).

What is the reason to require a non-threaded version? You shouldn't have any issues or see any difference in functionality (well, you can use threads in the threaded version).

anilgopu | Thu, 2007-08-16 10:24

When I use the threaded version of ActiveTCL 8.4.15 I am getting the following error :

---------------------------
Fatal Error in Wish
---------------------------
alloc: invalid block: 099411C8: 11 0 63

---------------------------
OK
---------------------------

Same application used to work when used NON-Threaded version 8.4.7. For this reason I tried generating the executables from Core TCL 8.4.15 with threading off every thing worked fine. But don't want to miss the optimizations and addition done by ActiveState in 8.4.15 version, so was looking for non-threaded version.

My application was written not to work in threaded TCL !!

Can any one help me. I am though with my Core TCL executables, but missing "base-tcl-thread-win32-ix86.exe" & "base-tk-thread-win32-ix86.exe" when creating WRAPPER for the non threaded TCL application.

Please let me know how can I fix this problem.

Thanks
- AnilG

jeffh
ActiveState Staff
Thu, 2007-08-16 10:26

Are you using other extensions that you built yourself, or is this pure Tcl code generating the error? If it is pure Tcl code, then this should be reported as a bug. If you have other extensions, have you tried simply recompiling them with threads enabled?

anilgopu | Thu, 2007-08-16 10:36

I am using other extensions like :

blt2.4
bwidget1.6
dde1.2
DDE2.0
gdi
nptcl3.0
opengl
openglu
optcl
printer
reg1.1
tbcload1.4
tcl8.4
tclcompiler1.5
tcldebugger_attach
tcldevkit
tclparser1.4
tkogl
twapi

All these are the NON – ActiveState supplied Libraries / Extensions !!

My basic issue to generate a WRAPPER EXE for my base TCL to call as “Bin\Wish84.exe myBase.TCL”. When used with ActiveState TCL Wrapper I could not generate the EXE b’caz of missing base-TCL prefix file of non threaded version.

Thanks
- AnilG

jeffh
ActiveState Staff
Thu, 2007-08-16 10:42

If you have the Tcl Dev Kit (as indicated above), you are permitted to use another basekit in conjunction with the ActiveTcl libraries to build your own executable for distribution. I believe some of the tclkits are built non-threaded, which would work for your purposes. The ActiveTcl libraries would work as well because building threaded will work in non-threaded cores (but not vice-versa).

It is possible that the above libraries all support being built threaded, but you may not be building them from source.

anilgopu | Thu, 2007-08-16 11:02

Thanks Jeff.... I am new to TCL World form MS technologies. now got the word "BaseKit" is "TCLKt" ... found the required info at "www.tcl.tk".

Thanks
- AnilG

jeffh
ActiveState Staff
Thu, 2007-08-16 11:05

tclkit is the original term coined by Jean-Claude Wippler but came to mean a very specific configuration for the technology. basekit is the most generic term that promises nothing but the core wrapable executable. We are explicit in the naming of our basekits for users to see the build type (ie base-tk-threaded-win32-ix86.exe is a basekit including Tk built with threads on Windows 32-bit).