Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compile/install Thread package (can't find package Thread)

1,208 views
Skip to first unread message

S-Y. Chen

unread,
Feb 20, 2013, 4:23:09 AM2/20/13
to
Hi all,

I just downloaded the tcl/tk 8.6, and compiled with VS2005. I got tclsh86t,exe, so I supposed the compilation was successful.

Then I want to experiment with the Thread package.

So I type int the tcl shell
"package require Thread"

and it told me that "can't find package Thread"

Is there anything else I need to install/compile with the Thread package ? Or maybe I have missed something here ?

Your help is greatly appreciated.

Regards
S-Y. Chen


Harald Oehlmann

unread,
Feb 20, 2013, 8:14:24 AM2/20/13
to
If you have downloaded the recommend distribution by just pressing
download on:
http://sourceforge.net/projects/tcl/
you have the Thread package in the subfolder "pkgs".

Now, why did it not build or install ?

Well, if you use the makefile.vc in the windows folder, it should
install as a bundeled package.
So:
nmake -f makefile.vc release OPTS=threads
nmake -f makefile.vc install OPTS=threads INSTALLDIR=c:\test\tcl860
should do it.
Please place your source and install files in a path without spaces.

Hope this helps,
Harald

S-Y. Chen

unread,
Feb 20, 2013, 11:59:00 AM2/20/13
to

Thanks a lot Harald !

I am currently using OPTS=dll to compile. So.....what should I do if I still want to build a dynamically linked tcl/tk shell ?

Thanks again for the help!

Regards
S-Y. Chen

Harald Oehlmann

unread,
Feb 20, 2013, 12:09:05 PM2/20/13
to
On 20 Feb., 17:59, "S-Y. Chen" <shenyeh_c...@hotmail.com> wrote:
> Thanks a lot Harald !
>
> I am currently using OPTS=dll to compile. So.....what should I do if I still want to build a dynamically linked tcl/tk shell ?

I am not aware of this option. Isn't dynamically linked the default ?

Sorry,
Harald

0 new messages