@@ -265,6 +265,28 @@ Linux: On Linux version 1.x, once you've built Python, use it to run
265265 status of a module from static to shared, you must remove its
266266 .o file or do a "make clean".)
267267
268+ Under RedHat Linux 5.0, if upgraded from a previous version,
269+ remove the LinuxThreads packages. This is needed because
270+ LinuxThreads conflicts with the new thread support provided by
271+ glibc. Before running Python's configure script, use the
272+ following commands as root (version numbers may differ; these
273+ are from a stock 4.2 install):
274+
275+ % rpm -qa | grep ^linuxthread
276+ linuxthreads-0.5-1
277+ linuxthreads-devel-0.5-1
278+ % rpm -e linuxthreads linuxthreads-devel
279+
280+ While Python only needs this to be done to allow thread
281+ support to be included, the conflicts these packages create
282+ with the new glibc may cause other packages which use threads
283+ to fail as well, so their removal is a good idea regardless of
284+ how you configure python.
285+
286+ Also under RedHat Linux 5.0, the crypt module now needs the
287+ -lcrypt option. Uncomment this flag in Modules/Setup, or
288+ comment out the crypt module in the same file.
289+
268290DEC Unix: When enabling threads, use --with-dec-threads, not
269291 --with-thread.
270292
0 commit comments