Threading under Slackware

Daniel Buettner buettner at cse.unl.edu
Fri May 28 14:44:57 EDT 1999


David Ascher <da at ski.org> wrote:
> On 25 May 1999, Preston Landers wrote:

>> When I try to 'from threading import *' the threading module tries to
>> import thread and gets something along the lines of a module not found 
>> error.
>> 
>> Is it possible to run this app on Slackware?  What do I need to tell
>> the box's admin to do?  Is it 'simply' recompiling Python with thread
>> support, or is Slackware just not going to cut it?  (I developed it on 
>> my Debian 2.1 box.)

> Slackware will cut it just fine.  Your sysadmin just needs to do a
> 'configure --with-thread' and a reinstall.
except that slackware currently is based on libc5 (not glibc) which 
either doesn't support threading at all, or does so very badly (I can't
remember which).

However, slackware should have a copy of glibc installed for compatability
sake which would (I should think) allow you to run a thread-enabled copy
of python compiled on a different box, as the compilers on the slackware
box will link against libc5.

So, get a thread-enabled copy of python from some unknown binary source 
or compile it on another box and copy it to the slackware box.

HTH,
-- 
~
~
~
"Daniel Buettner" line 4 of 4 --100%--




More information about the Python-list mailing list