Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
For 2021 - online Python 3 training - see ((here)).

Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.

Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.
Issues installing 8.4 with pthread enabled

Posted by dibya.jyoti (dibya.jyoti), 5 September 2007
I am trying to install tcl8.4.15 with --enable-pthreads on Debian. I did follwing steps :
1. downloaded from
2. copied to /usr/local/src
3. untared and run /usr/local/src/tcl8.4.15/unix/configure --enable-pthreads.
4. make
5. make test
6. make install

In my tcl script whenever I give "package require Thread" , it gives me ::
can't find package Thread
while executing
"package require Thread"
(file "./sample.tcl" line 2)

Please help me to install tcl8.4 with thread enabled.

Posted by dibya.jyoti (dibya.jyoti), 6 September 2007
It will be really helpful if someone reply for this issue.

Thanks and regards,

Posted by admin (Graham Ellis), 6 September 2007
on 09/06/07 at 12:42:23, dibya.jyoti wrote:
It will be really helpful if someone reply for this issue.

Thanks and regards,

All I can say, I'm afraid, is "I don't know"  

We get a certain proportion of questions that are so specific that very few people indeed can help ,,, and this is one of them.  Your best approach might be a Debian Mailing list if the issue is debian specific, or an approach to the people who look after the pthreads module - you should find contact details in the source.   But do check for comments about the problem in the source first, and research it thoroughly - typically such developers love INTERESTING questions but get pretty cheese off about questiosn that aren't properly researched, or where the writer demands an answer.

If you get it sorted, Jyoti, please come vback here and tell us what the answer was.


Posted by dibya.jyoti (dibya.jyoti), 7 September 2007
Hi Graham,
Finally I am able to do that on my Debian 2.6.18-5-686. Here is the steps for that. Now I am going to try threading with TCL. Like how to reload 20 routers parallely without wasting time for each router to complete the reloading. All the thread will continue to reload each routers separately.

Here is steps to get the Thread enabled for TCL.
Thread package ::
TCL 8.4.15 ::
Steps :: First compile TCL 8.4.15 with threading support.
Copy the tar.gz into /usr/local/src and untar it. /usr/local/src/tcl8.4.15<...>/unix
./configure --enable-threads --enable-gcc
2. make
3. make install

Then compile and install Thread patch :
1. copy the tar.gz into /usr/local/src/
2. untar it.
3. ./configure --enable-pthreads
4. make
5. make install

How to verify thread is available ?

% package require Thread

If there is any issue then it will say : can't find package Thread


Posted by admin (Graham Ellis), 7 September 2007
Thanks for that follow up ... it makes the thread more useful for anyone else who comes this way.

-- Graham

This page is a thread posted to the opentalk forum at and archived here for reference. To jump to the archive index please follow this link.

1 unpublished comment pending on this page

edit your own (not yet published) comments

© WELL HOUSE CONSULTANTS LTD., 2022: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: • WEB: • SKYPE: wellho