Subject: Python with threads
To: None <>
From: None <>
List: tech-pkg
Date: 04/18/2001 14:18:59

I was trying to use thread module with Python, but I found
--without-threads option was set in

Without --without-threads option, build process fails. So I
assume that's why this option was set.

So, I did:

1. Remove --without-threads option from Makefile
2. make CC="cc `pthread-config --cflags`" \
      LDFLAGS="`pthread-config --ldflags`" \
      LIBS="`pthread-config --ldflags --libs`" \
      LD_LIBRARY_PATH="`pthread-config --ldflags`"
   in /usr/pkgsrc/lang/python

then I could get Python with threads.

Is this the corrct way of building?

Thank you very much in advance.